From 56eb412dbc844b78c0ad4bf73b0b1e397ab5c1ba Mon Sep 17 00:00:00 2001 From: Carl-Y <52552476+HH45137@users.noreply.github.com> Date: Thu, 29 Feb 2024 22:38:56 +0800 Subject: [PATCH] Append python3 --- scripts/build-macos-arm64.sh | 4 ++-- scripts/tests-macos-arm64.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/build-macos-arm64.sh b/scripts/build-macos-arm64.sh index 91f46f4f..abb6a2a8 100755 --- a/scripts/build-macos-arm64.sh +++ b/scripts/build-macos-arm64.sh @@ -2,7 +2,7 @@ git submodule init && git submodule update -brew install sdl2 +brew install sdl2 freetype2 fontconfig pkg-config opus libpng libedit -./waf configure -T debug --disable-warns $* && +python3 ./waf configure -T debug --disable-warns $* && ./waf build diff --git a/scripts/tests-macos-arm64.sh b/scripts/tests-macos-arm64.sh index 2befa2d2..ade3f27f 100755 --- a/scripts/tests-macos-arm64.sh +++ b/scripts/tests-macos-arm64.sh @@ -1,7 +1,7 @@ #!/bin/sh git submodule init && git submodule update -./waf configure -T release --sanitize=address,undefined --disable-warns --tests --prefix=out/ $* && -./waf install && +python3 ./waf configure -T release --sanitize=address,undefined --disable-warns --tests --prefix=out/ $* && +python3 ./waf install && cd out && DYLD_LIBRARY_PATH=bin/ ./unittest || exit 1