From defa292dfbc3980589b7a3944ec6ccbbfe5d6be4 Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Tue, 26 Nov 2024 11:11:48 -0500 Subject: [PATCH] Run the exception state tests on Mac as well as Windows and Linux. --- .github/workflows/build.yaml | 2 +- build-cmd.sh | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a243497467..d0a4b06fbf 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -8,7 +8,7 @@ jobs: build: strategy: matrix: - os: [windows-large, ubuntu-22.04] + os: [windows-large, macos-13-large, ubuntu-22.04] runs-on: ${{ matrix.os }} steps: - uses: secondlife/action-autobuild@v5 diff --git a/build-cmd.sh b/build-cmd.sh index 78f81c62cd..21a2d2d0ff 100755 --- a/build-cmd.sh +++ b/build-cmd.sh @@ -446,6 +446,19 @@ fi # ========================================================================= lipo -create -output ${stage_release}/libboost_url-mt.a ${stage}/release_x86_64/lib/libboost_url-mt-x64.a ${stage}/release_arm64/lib/libboost_url-mt-a64.a lipo -create -output ${stage_release}/libboost_wave-mt.a ${stage}/release_x86_64/lib/libboost_wave-mt-x64.a ${stage}/release_arm64/lib/libboost_wave-mt-a64.a + for test in "$top"/tests/*.cpp + do + btest="$(basename "$test")" + testo="/tmp/$btest" + sep "$btest" + if c++ -std=c++20 -arch x86_64 \ + -I. -o "$testo" "$test" "${stage_release}"/* + then + "$testo" || true + rm "$testo" + fi + done + # populate version_file sep "version" cc -DVERSION_HEADER_FILE="\"$VERSION_HEADER_FILE\"" \