From b166b4a41c50c56b31f36ecf2f2e19d4b59f1576 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Sun, 9 Nov 2025 18:50:35 -0700 Subject: [PATCH] Add macOS CI --- .github/workflows/ci.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b67e92..f0c726a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -148,6 +148,45 @@ jobs: name: ${{ matrix.id }} path: dist/wibo + build-macos: + name: Build macOS ${{ matrix.display }} + runs-on: macos-latest + strategy: + fail-fast: false + matrix: + include: + - id: debug-macos + display: Debug + preset: debug-macos + build_dir: debug + - id: release-macos + display: Release + preset: release-macos + build_dir: release + steps: + - name: Install dependencies + run: | + brew install mingw-w64 + + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Build wibo + run: | + cmake --preset ${{ matrix.preset }} + cmake --build --preset ${{ matrix.preset }} + + - name: Tests + run: ctest --preset ${{ matrix.preset }} + + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + name: ${{ matrix.id }} + path: build/${{ matrix.build_dir }}/wibo + release: name: Publish Release if: startsWith(github.ref, 'refs/tags/')