Add apple silicon test

This commit is contained in:
Carl-Y 2024-02-28 21:27:53 +08:00
parent bc4ff8c6b2
commit 23233bd4c9
2 changed files with 16 additions and 0 deletions

View File

@ -30,6 +30,15 @@ jobs:
run: |
scripts/tests-macos-amd64.sh
tests-macos-arm64:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Run tests macos-arm64
run: |
scripts/tests-macos-arm64.sh
tests-windows-i386:
runs-on: windows-2019

7
scripts/tests-macos-arm64.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
git submodule init && git submodule update
./waf configure -T release --sanitize=address,undefined --disable-warns --tests --prefix=out/ $* &&
./waf install &&
cd out &&
DYLD_LIBRARY_PATH=bin/ ./unittest || exit 1