Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,24 @@ jobs:
build/tests_mingw_x86_win2k.exe
build/tests_header_only_mingw_x86_win2k.exe

macos-arm64-build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
mkdir build && cd build
cmake -G "Ninja" ../ -DCMAKE_VERBOSE_MAKEFILE=ON -DTCS_ENABLE_TESTS=ON -DTCS_ENABLE_EXAMPLES=ON -DTCS_WARNINGS_AS_ERRORS=ON
cmake --build .
mv ./tests/tests ./tests_macos_arm64
mv ./tests/tests_header_only ./tests_header_only_macos_arm64
- uses: actions/upload-artifact@v4
with:
name: macos-arm64-tests
path: |
build/tests_macos_arm64
build/tests_header_only_macos_arm64

# ---- TESTS ----

windows-tests:
Expand Down Expand Up @@ -503,6 +521,23 @@ jobs:
' 2>&1 | tee -a $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY

macos-arm64-test:
runs-on: macos-latest
timeout-minutes: 30
needs: [macos-arm64-build]
steps:
- uses: actions/download-artifact@v4
with:
name: macos-arm64-tests
path: build/
- name: Run tests
run: |
echo '```' >> $GITHUB_STEP_SUMMARY
chmod +x ./build/tests_macos_arm64 ./build/tests_header_only_macos_arm64
./build/tests_macos_arm64 2>&1 | tee -a $GITHUB_STEP_SUMMARY
./build/tests_header_only_macos_arm64 2>&1 | tee -a $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY

# ---- DEPLOY ----

sphinx-docs:
Expand Down
Loading