ext: re-enable MZ_FORCE_FETCH_LIBS to ensure it depends on all of them #449
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
# nothing here | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
build_type: [Debug, Release] | |
os: [windows-latest, ubuntu-latest, macos-latest] | |
runs-on: ${{matrix.os}} | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Set up MSVC [Windows] | |
if: matrix.os == 'windows-latest' | |
uses: ilammy/msvc-dev-cmd@v1 | |
with: | |
arch: x64 | |
spectre: true | |
- name: Install Dependencies [macOS] | |
if: matrix.os == 'macos-latest' | |
run: brew install ninja | |
- name: Install Dependencies [Linux] | |
if: matrix.os == 'ubuntu-latest' | |
run: sudo apt update && sudo apt install -y ninja-build | |
- name: Configure CMake | |
run: cmake -G "Ninja" -B build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DSOURCEPP_BUILD_TESTS=ON | |
- name: Build | |
run: cmake --build build --config ${{matrix.build_type}} | |
- name: Test | |
working-directory: '${{github.workspace}}/build' | |
run: ctest |