Skip to content

Commit

Permalink
ci: set GOARCH for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
dongwlin committed Nov 15, 2024
1 parent 1aa1a54 commit 65ca1e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
- name: Test
env:
CGO_ENABLED: 0
GOARCH: ${{ matrix.arch == 'aarch64' && 'arm64' || 'amd64' }}
GOHOSTARCH: ${{ matrix.arch == 'aarch64' && 'arm64' || 'amd64' }}
run: |
$env:Path += ";${{ github.workspace }}/deps/bin"
Expand Down Expand Up @@ -106,6 +107,7 @@ jobs:
- name: Test
env:
CGO_ENABLED: 0
GOARCH: ${{ matrix.arch == 'aarch64' && 'arm64' || 'amd64' }}
GOHOSTARCH: ${{ matrix.arch == 'aarch64' && 'arm64' || 'amd64' }}
LD_LIBRARY_PATH: /__w/maa-framework-go/maa-framework-go/deps/bin:$LD_LIBRARY_PATH
run: |
Expand Down

0 comments on commit 65ca1e9

Please sign in to comment.