[skip ci] Update MacOS CI image

This commit is contained in:
red0124
2025-07-05 03:40:49 +02:00
parent 32d9d0de68
commit 206a1fca6f
2 changed files with 10 additions and 6 deletions

View File

@@ -1,9 +1,9 @@
#!/bin/bash
#!/usr/bin/env bash
JOBS=4
BUILD_TYPE=Debug
set -eux
set -ex
git clone https://github.com/red0124/doctest -b master --depth 1
@@ -12,6 +12,10 @@ cmake -S doctest -B doctest/build \
-D DOCTEST_WITH_MAIN_IN_STATIC_LIB=NO \
-D DOCTEST_WITH_TESTS=NO
cmake --build doctest/build --config ${BUILD_TYPE} --target install -j ${JOBS}
if [[ "${1}" == "sudo" ]]; then
sudo cmake --build doctest/build --config ${BUILD_TYPE} --target install -j ${JOBS}
else
cmake --build doctest/build --config ${BUILD_TYPE} --target install -j ${JOBS}
fi
rm -rf doctest