Skip to content

Commit

Permalink
github actions L
Browse files Browse the repository at this point in the history
  • Loading branch information
seatedro committed Aug 31, 2024
1 parent 99dc2cb commit f225157
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
strategy:
matrix:
include:
# arm
- os: macos-latest
arch: aarch64
- os: macos-latest
- os: macos-13
arch: x86_64
- os: ubuntu-latest
arch: aarch64
# x86
- os: ubuntu-latest
arch: x86_64
- os: windows-latest
Expand All @@ -35,11 +35,7 @@ jobs:
if [ "${{ matrix.os }}" = "windows-latest" ]; then
zig build -Drelease -Dtarget=${{ matrix.arch }}-windows test
elif [ "${{ matrix.os }}" = "ubuntu-latest" ]; then
if [ "${{ matrix.arch }}" = "aarch64" ]; then
zig build -Drelease -Dtarget=${{ matrix.arch }}-linux-gnu test
else
zig build -Drelease -Dtarget=${{ matrix.arch }}-linux test
fi
zig build -Drelease -Dtarget=${{ matrix.arch }}-linux test
elif [ "${{ matrix.os }}" = "macos-latest" ]; then
zig build -Drelease -Dtarget=${{ matrix.arch }}-macos test
fi
Expand Down

0 comments on commit f225157

Please sign in to comment.