File tree Expand file tree Collapse file tree 2 files changed +41
-46
lines changed Expand file tree Collapse file tree 2 files changed +41
-46
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+ on :
3
+ workflow_dispatch :
4
+ pull_request :
5
+ push :
6
+ branches : [main]
7
+ jobs :
8
+ build-project :
9
+ name : Build Project
10
+ runs-on : ${{ matrix.os }}-latest
11
+ strategy :
12
+ fail-fast : false
13
+ matrix :
14
+ os : [ubuntu, windows]
15
+ steps :
16
+ - name : Checkout
17
+ uses : actions/checkout@v4.1.1
18
+
19
+ - name : Configure Project
20
+ uses : threeal/cmake-action@v1.3.0
21
+
22
+ - name : Build Project
23
+ run : cmake --build build --config Release
24
+
25
+ build-docs :
26
+ name : Build Documentation
27
+ runs-on : ubuntu-latest
28
+ steps :
29
+ - name : Checkout
30
+ uses : actions/checkout@v4.1.1
31
+
32
+ - name : Install Requirements
33
+ run : pip3 install -r docs/requirements.txt
34
+
35
+ - name : Build Documentation
36
+ run : sphinx-build -b html docs build/docs -W --keep-going
37
+
38
+ - name : Upload Documentation
39
+ uses : actions/upload-pages-artifact@v3.0.0
40
+ with :
41
+ path : build/docs
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments