ci: fix on macos #6
Workflow file for this run
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: Build | |
on: | |
push: | |
jobs: | |
build-project: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Dependencies | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo apt update -yqq | |
sudo apt install libboost-dev | |
- name: Dependencies | |
if: matrix.os == 'macos-latest' | |
run: | | |
brew install boost | |
brew link boost | |
- name: Build Project | |
uses: threeal/cmake-action@v2.0.0 | |
with: | |
options: | | |
CMAKE_PREFIX_PATH=/opt/homebrew | |