-
Notifications
You must be signed in to change notification settings - Fork 6
42 lines (36 loc) · 1.01 KB
/
cmake.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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