aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKenjiro Nakayama <nakayamakenjiro@gmail.com>2024-03-21 19:05:27 +0900
committerKenjiro Nakayama <nakayamakenjiro@gmail.com>2024-03-21 22:06:39 +0900
commit73787b1824c12c5aa73c875b6321b0a0e7f885be (patch)
treebcdc05829a41c2b08988255621592a8532c08fd5 /scripts
parentab8c8c269d50346abec9839094ef4ca191fcfc40 (diff)
downloadportable-73787b1824c12c5aa73c875b6321b0a0e7f885be.tar.gz
portable-73787b1824c12c5aa73c875b6321b0a0e7f885be.tar.bz2
portable-73787b1824c12c5aa73c875b6321b0a0e7f885be.zip
Run tests for macos-14 on arm64
macos-12 and macos-13 fails `make test` on arm64 but macos-14 does not. Hence this patch enables it on github action.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/test b/scripts/test
index 97e316e..d093eab 100755
--- a/scripts/test
+++ b/scripts/test
@@ -34,7 +34,9 @@ if [ `uname` = "Darwin" ]; then
34 cd build-static 34 cd build-static
35 cmake -DCMAKE_OSX_ARCHITECTURES=$ARCH .. 35 cmake -DCMAKE_OSX_ARCHITECTURES=$ARCH ..
36 make -j 4 36 make -j 4
37 if [ "$ARCH" = "x86_64" ]; then 37 if [ "$ARCH" = "arm64" ] && [ "$OS" = "macos-12" ] || [ "$OS" = "macos-13" ]; then
38 echo "##### skip tests"
39 else
38 make test 40 make test
39 fi 41 fi
40 ) 42 )
@@ -44,7 +46,9 @@ if [ `uname` = "Darwin" ]; then
44 cd build-shared 46 cd build-shared
45 cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_OSX_ARCHITECTURES=$ARCH .. 47 cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_OSX_ARCHITECTURES=$ARCH ..
46 make -j 4 48 make -j 4
47 if [ "$ARCH" = "x86_64" ]; then 49 if [ "$ARCH" = "arm64" ] && [ "$OS" = "macos-12" ] || [ "$OS" = "macos-13" ]; then
50 echo "##### skip tests"
51 else
48 make test 52 make test
49 fi 53 fi
50 ) 54 )