Commit 2c649b9 1 parent 6aaf34c commit 2c649b9 Copy full SHA for 2c649b9
File tree 1 file changed +8
-20
lines changed
1 file changed +8
-20
lines changed Original file line number Diff line number Diff line change @@ -13,19 +13,13 @@ jobs:
13
13
- name : checkout repository
14
14
uses : actions/checkout@v4
15
15
- name : configure
16
- run : |
17
- cmake -S . -B build \
18
- -DCMAKE_BUILD_TYPE=Release
16
+ run : cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
19
17
- name : build
20
- run : |
21
- cmake --build build
18
+ run : cmake --build build
22
19
- name : test
23
- run : |
24
- cd build
25
- ctest --output-on-failure
20
+ run : ctest --test-dir build --output-on-failure
26
21
- name : install
27
- run : |
28
- sudo cmake --install build
22
+ run : sudo cmake --install build
29
23
build-windows :
30
24
name : windows-2022-release
31
25
runs-on : windows-2022
@@ -36,16 +30,10 @@ jobs:
36
30
- name : checkout repository
37
31
uses : actions/checkout@v4
38
32
- name : configure
39
- run : |
40
- cmake -S . -B build \
41
- -DCMAKE_BUILD_TYPE=Release
33
+ run : cmake -S . -B build -G "Visual Studio 17 2022"
42
34
- name : build
43
- run : |
44
- cmake --build build
35
+ run : cmake --build build --config Release
45
36
- name : test
46
- run : |
47
- cd build
48
- ctest --output-on-failure
37
+ run : ctest --test-dir build --output-on-failure --config Release
49
38
- name : install
50
- run : |
51
- cmake --install build
39
+ run : cmake --install build --config Release
You can’t perform that action at this time.
0 commit comments