CI uses sh not bash...

This commit is contained in:
Niram7777 2026-02-19 13:42:16 +01:00 committed by GitHub
parent e159dbdea9
commit 149304e651
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,7 @@
git config --global --add safe.directory .
git submodule -q update --init --depth 1 $(awk '/path/ && !/llvm/ && !/opencv/ && !/libpng/ && !/libsdl-org/ && !/curl/ && !/zlib/ && !/libusb/ && !/feralinteractive/ { print $3 }' .gitmodules)
CONFIGURE_ARGS=(
CONFIGURE_ARGS="
-DWITH_LLVM=ON
-DUSE_SDL=OFF
-DUSE_PRECOMPILED_HEADERS=OFF
@ -16,13 +16,14 @@ CONFIGURE_ARGS=(
-DUSE_SYSTEM_LIBPNG=ON
-DUSE_SYSTEM_LIBUSB=ON
-DUSE_SYSTEM_OPENCV=ON
# base Clang workaround (missing clang-scan-deps)
-DCMAKE_CXX_SCAN_FOR_MODULES=OFF
-DCMAKE_LINKER_TYPE=lld-devel
)
"
# base Clang workaround (missing clang-scan-deps)
CONFIGURE_ARGS="$CONFIGURE_ARGS -DCMAKE_CXX_SCAN_FOR_MODULES=OFF"
# shellcheck disable=SC2086
cmake -B build -G Ninja ${CONFIGURE_ARGS[@]}
cmake -B build -G Ninja $CONFIGURE_ARGS
cmake --build build
ccache --show-stats