File tree 2 files changed +5
-7
lines changed
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -66,15 +66,14 @@ jobs:
66
66
-S . -B build
67
67
68
68
- name : Build and compile
69
- run : cmake --build build
69
+ run : cmake --build build --parallel
70
70
71
71
- name : catch build fail
72
72
run : cmake --build build --verbose --parallel 1
73
73
if : failure()
74
74
75
75
- name : test
76
- run : ctest --parallel --output-on-failure
77
- working-directory : build
76
+ run : ctest --test-dir build --parallel --output-on-failure
78
77
79
78
- name : Install project
80
79
run : cmake --install build
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ on: [push, pull_request]
4
4
5
5
env :
6
6
CTEST_TIME_TIMEOUT : " 5" # some failures hang forever
7
+ CMAKE_GENERATOR : Ninja
7
8
8
9
jobs :
9
10
msys2-build :
57
58
run : pip install fypp
58
59
59
60
- run : >-
60
- cmake -G Ninja
61
- -DCMAKE_SH="CMAKE_SH-NOTFOUND"
61
+ cmake
62
62
-Wdev
63
63
-B build
64
64
-DCMAKE_BUILD_TYPE=Debug
78
78
if : failure()
79
79
80
80
- name : CTest
81
- run : ctest --output-on-failure --parallel -V -LE quadruple_precision
82
- working-directory : build
81
+ run : ctest --test-dir build --output-on-failure --parallel -V -LE quadruple_precision
83
82
84
83
- uses : actions/upload-artifact@v1
85
84
if : failure()
You can’t perform that action at this time.
0 commit comments