Skip to content

Commit

Permalink
Fix macOS CI (#11)
Browse files Browse the repository at this point in the history
* Fix macOS CI

* Try again
  • Loading branch information
ryanplusplus authored Nov 14, 2024
1 parent c495b9f commit 11504dd
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-22.04, ubuntu-24.04, ubuntu-latest, macos-13]
os: [ubuntu-22.04, ubuntu-24.04, ubuntu-latest, macos-latest]

steps:
- name: Install CppUTest
Expand All @@ -28,4 +28,10 @@ jobs:
with:
submodules: 'recursive'

- run: make -j${{ steps.cpu-cores.outputs.count }}
- name: Test on macOS
if: matrix.os == 'macos-latest'
run: CPATH="$CPATH:$(brew --prefix)/include" LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib" make -j${{ steps.cpu-cores.outputs.count }}

- name: Test on Linux
if: matrix.os != 'macos-latest'
run: make -j${{ steps.cpu-cores.outputs.count }}

0 comments on commit 11504dd

Please sign in to comment.