ci: fix on win32 #7
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 eigen | |
brew link boost eigen | |
- name: Dependencies | |
if: matrix.os == 'windows-latest' | |
run: | | |
choco install eigen -y | |
choco install boost-msvc-14.3 -y | |
boost_path = (Get-ChildItem -Path 'C:\local\' -Filter 'boost_*').FullName | |
echo $boost_path >> $env:GITHUB_PATH | |
- name: Build Project | |
uses: threeal/[email protected] | |
with: | |
options: | | |
CMAKE_PREFIX_PATH=/opt/homebrew | |