File tree Expand file tree Collapse file tree 2 files changed +35
-3
lines changed
Expand file tree Collapse file tree 2 files changed +35
-3
lines changed Original file line number Diff line number Diff line change 1- name : BuildAndTest
1+ name : Linux
22
33on : # [push, pull_request]
44 push :
55 paths-ignore :
66 - ' *.md'
7- - ' appveyor.yml'
87 - ' .gitlab-ci.yml'
9- - ' .travis.yml'
108 - ' .circleci/**'
119 - ' docs/**'
1210 - ' data_files/**'
Original file line number Diff line number Diff line change 1+ name : Windows
2+
3+ on : # [push, pull_request]
4+ push :
5+ paths-ignore :
6+ - ' *.md'
7+ - ' .gitlab-ci.yml'
8+ - ' .circleci/**'
9+ - ' docs/**'
10+ - ' data_files/**'
11+ - ' images/**'
12+ - ' scripts/**'
13+
14+ jobs :
15+ windows-build :
16+ name : Compilation
17+ runs-on : windows-2022
18+ strategy :
19+ matrix :
20+ type : [Debug, Release]
21+
22+ steps :
23+ - uses : actions/checkout@v4
24+ with :
25+ submodules : true
26+
27+ - name : Configure
28+ run : cmake -Bbuild -DINCH_UNIT_TESTS=ON -DCMAKE_BUILD_TYPE=${{ matrix.type }}
29+
30+ - name : Build
31+ run : cmake --build build --config ${{ matrix.type }} -j2
32+
33+ - name : Test
34+ run : cd build && ctest -C ${{ matrix.type }} -j2 -V
You can’t perform that action at this time.
0 commit comments