Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify CI #12

Merged
merged 1 commit into from
Nov 15, 2024
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
14 changes: 7 additions & 7 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-latest]
os: [ubuntu-22.04, ubuntu-24.04, ubuntu-latest, macos-14, macos-latest]

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

- 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: Configure brew paths on macOS
if: contains(matrix.os, 'macos')
run: |
echo CPATH="$CPATH:$(brew --prefix)/include" >> $GITHUB_ENV
echo LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib" >> $GITHUB_ENV

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