diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 407239c4..c1cf2ffc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 diff --git a/scripts/tests-macos-arm64.sh b/scripts/tests-macos-arm64.sh new file mode 100755 index 00000000..2befa2d2 --- /dev/null +++ b/scripts/tests-macos-arm64.sh @@ -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