Skip to content

Commit

Permalink
tests: Test s2 asm tags with defines
Browse files Browse the repository at this point in the history
Until Go 1.18 can be used.
  • Loading branch information
klauspost committed Feb 14, 2022
1 parent 91d9d32 commit 16549c4
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/go.yml
Expand Up @@ -31,11 +31,6 @@ jobs:
- name: Test
run: go test ./...

- name: Test S2 GOAMD64 v3
env:
GOAMD64: v3
run: go test -tags=goamd64_v3 ./s2/...

- name: Test Noasm
run: go test -tags=noasm ./...

Expand Down Expand Up @@ -72,3 +67,12 @@ jobs:
- name: goreleaser snapshot
run: curl -sL https://git.io/goreleaser | VERSION=v0.162.0 sh -s -- --snapshot --skip-publish --rm-dist

- name: Test S2 GOAMD64 v3
env:
GOAMD64: v3
run: go test -asmflags=-D=GOAMD64_v3 ./s2/...

- name: Test S2 GOAMD64 v4
env:
GOAMD64: v4
run: go test -asmflags=-D=GOAMD64_v4 ./s2/...

0 comments on commit 16549c4

Please sign in to comment.