-
Notifications
You must be signed in to change notification settings - Fork 0
67 lines (57 loc) · 1.49 KB
/
build.yaml
File metadata and controls
67 lines (57 loc) · 1.49 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: Build
on:
workflow_dispatch:
pull_request:
push:
branches: [main]
jobs:
build-project:
name: Build Project
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, windows-2022]
steps:
- name: Checkout
uses: actions/checkout@v4.2.2
- name: Configure Project
uses: threeal/cmake-action@v2.1.0
with:
run-build: false
- name: Build Project
run: cmake --build build --config Release
- name: Install Project
run: cmake --install build --prefix install
build-examples:
name: Build Examples
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, windows-2022]
steps:
- name: Checkout
uses: actions/checkout@v4.2.2
- name: Configure Project
uses: threeal/cmake-action@v2.1.0
with:
options: BUILD_EXAMPLES=ON
run-build: false
- name: Build Examples
run: cmake --build build --target examples
build-docs:
name: Build Documentation
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4.2.2
- name: Install Doxygen
run: sudo apt-get install -y doxygen
- name: Configure Project
uses: threeal/cmake-action@v2.1.0
with:
options: BUILD_DOCS=ON
run-build: false
- name: Build Documentation
run: cmake --build build --target docs