-
Notifications
You must be signed in to change notification settings - Fork 6
43 lines (39 loc) · 1.3 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
42
43
name: Build
on:
push:
jobs:
build-project:
strategy:
matrix:
config:
- {
os: ubuntu-latest,
cmake_options: "",
dependencies: "sudo apt update -yqq && sudo apt -yqq install libboost-dev"
}
- {
os: macos-latest,
cmake_options: "CMAKE_PREFIX_PATH=/opt/homebrew",
dependencies: "brew install boost eigen && brew link boost eigen"
}
- {
os: windows-latest,
cmake_options: "Boost_INCLUDE_DIR=D:/a/puara-gestures/puara-gestures/3rdparty",
# this should really work, but doesn't -- somehow cmake sees ${{ github.workspace }} as empty
# cmake_options: "Boost_INCLUDE_DIR=${{ github.workspace }}/3rdparty",
dependencies: "choco install eigen -y --no-progress"
}
runs-on: ${{ matrix.config.os }}
steps:
- name: Checkout Project
uses: actions/checkout@v4
with:
submodules: recursive
- name: Dependencies
run: ${{ matrix.config.dependencies }}
- name: Build Project
uses: threeal/[email protected]
with:
options: |
PUARA_GESTURES_ENABLE_STANDALONE=0
${{ matrix.config.cmake_options }}