edwards25519/.github/workflows/test.yml
2022-07-31 17:08:28 -04:00

18 lines
466 B
YAML

name: Go tests
on: [push, pull_request]
jobs:
test:
name: Go ${{ matrix.go }}
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.17', '1.x' ]
steps:
- uses: actions/setup-go@v2
with: { go-version: "${{ matrix.go }}" }
- uses: actions/checkout@v2
- run: go test -quickchecks 1 ./...
- run: go test -quickchecks 1 -tags purego ./...
- run: GOARCH=arm64 go test -c
- run: GOARCH=arm go test -c