Skip to content

Commit

Permalink
Run the exception state tests on Mac as well as Windows and Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
nat-goodspeed committed Nov 26, 2024
1 parent cb19f1b commit defa292
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 13 additions & 0 deletions build-cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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\"" \
Expand Down

0 comments on commit defa292

Please sign in to comment.