-
Notifications
You must be signed in to change notification settings - Fork 7
70 lines (58 loc) · 2 KB
/
continuous-windows.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: windows-ci
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
Continuous:
runs-on: windows-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Setup cmake
uses: jwlawson/[email protected]
with:
cmake-version: '3.21.x'
- name: Create Build Environment
run: |
git clone https://github.com/Microsoft/vcpkg.git
.\vcpkg\bootstrap-vcpkg.bat -disableMetrics
vcpkg install --triplet x64-windows gtest pybind11 eigen3
vcpkg list
vcpkg integrate install
- name: Configure
run: >
cmake -S ${{github.workspace}} -B ${{github.workspace}}/build -Ax64
-DVCPKG_TARGET_TRIPLET=x64-windows
-DWITH_TEST:BOOL=ON
-DWITH_PYTHON_API:BOOL=OFF
-DENABLE_BLOCK_MESHER:BOOL=OFF
-DENABLE_BLOCKING:BOOL=OFF
-DENABLE_CLAIRE:BOOL=OFF
-DENABLE_DUAL_BLOCKING:BOOL=OFF
-DENABLE_ELG3D:BOOL=OFF
-DENABLE_ELGMORPHING:BOOL=OFF
-DENABLE_FRAME:BOOL=ON
-DENABLE_FRAME_3D:BOOL=ON
-DENABLE_GEOD_HONEY_COMB:BOOL=OFF
-DENABLE_HYBRIDMESHADAPT:BOOL=OFF
-DENABLE_KMDS:BOOL=OFF
-DENABLE_MEDIALAXIS:BOOL=OFF
-DENABLE_MEDUSA:BOOL=OFF
-DENABLE_MILP:BOOL=OFF
-DENABLE_MORPHMESH:BOOL=OFF
-DENABLE_PADDINGs:BOOL=OFF
-DENABLE_POLYBLOCK:BOOL=OFF
-DENABLE_QUADFRONT:BOOL=OFF
-DENABLE_RLBLOCKING:BOOL=OFF
-DENABLE_SINGGRAPHBUILD:BOOL=ON
-DBUILD_SHARED_LIBS:BOOL=ON
-DCMAKE_TOOLCHAIN_FILE="C:/vcpkg/scripts/buildsystems/vcpkg.cmake"
- name: Build Environment
run: cmake --build ${{github.workspace}}/build --config Release --parallel 2
- name: Run tests
run: cmake --build build --target RUN_TESTS --config Release
- name: Install
run: cmake --install build --prefix ${{github.workspace}}/buildinstall --config Release