Update readme #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-14, 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: contains(matrix.os, 'macos') | |
run: | | |
echo CPATH="$CPATH:$(brew --prefix)/include" >> $GITHUB_ENV | |
echo LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib" >> $GITHUB_ENV | |
- run: make -j${{ steps.cpu-cores.outputs.count }} |