ARIA arm64 amd64 #72
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go Test | |
on: | |
push: | |
branches: [ dev_asm ] | |
jobs: | |
test_amd64: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: | |
- '1.15' | |
- '1.16' | |
- '1.17' | |
- '1.18' | |
- '1.19' | |
- '1.20' | |
- '1.21' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
cache-dependency-path: go.sum | |
- name: Install dependencies | |
run: | | |
go get . | |
go get github.com/RyuaNerin/[email protected] | |
- name: Build | |
run: go build -v $(cat test.target) | |
- name: Test (purego) | |
run: go test --tags=purego $(cat test.target) | |
- name: Test | |
run: go test $(cat test.target) | |
test_arm64: | |
runs-on: [self-hosted, macOS, ARM64] | |
strategy: | |
matrix: | |
go-version: | |
- '1.16' | |
- '1.17' | |
- '1.18' | |
- '1.19' | |
- '1.20' | |
- '1.21' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
cache-dependency-path: go.sum | |
- name: Install dependencies | |
run: | | |
go get . | |
go get github.com/RyuaNerin/[email protected] | |
- name: Build | |
run: go build -v $(cat test.target) | |
- name: Test (purego) | |
run: go test --tags=purego $(cat test.target) | |
- name: Test | |
run: go test $(cat test.target) |