Skip to content

Fix macOS CI

Fix macOS CI #73

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-24.04, ubuntu-latest, macos-latest]
steps:
- name: Install CppUTest
uses: lyricwulf/abc@v1
with:
all: cpputest
- uses: SimenB/github-actions-cpu-cores@v1
id: cpu-cores
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Configure brew paths on macOS
if: matrix.os == 'macos-latest'
run: export CPATH="$CPATH:$(brew --prefix)/include" && export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib"
- run: make -j${{ steps.cpu-cores.outputs.count }}