Skip to content

Commit

Permalink
CI: Add a Meson job on MacOS
Browse files Browse the repository at this point in the history
Since we've had at least one regression already that would have been
caught by CI, we should have at least some testing on MacOS
  • Loading branch information
dcbaker committed Jul 19, 2024
1 parent 23f15b1 commit fc45509
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/meson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,15 @@ jobs:
with:
path: ${{ github.workspace }}/ccache
key: ${{ matrix.cfg.id }}-ccache-${{ github.run_id }}
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Brew Install
run: brew install pkg-config ninja cli11 googletest jsoncpp fmt cmake meson tl-expected
- name: Build cps-config
run: |
meson setup builddir -Dunity=on -Dunity_size=12
ninja -C builddir
- name: Run tests
run: meson test -C builddir

0 comments on commit fc45509

Please sign in to comment.