👷 simplify CMake invocations
This commit is contained in:
3 files changed
+6
-12
No files matched your search
@@ -9,11 +9,9 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: prepare
|
|
||||||
run: mkdir build
|
|
||||||
- name: cmake
|
- name: cmake
|
||||||
run: cd build ; cmake ..
|
run: cmake -S . -B build
|
||||||
- name: build
|
- name: build
|
||||||
run: make -C build
|
run: cmake --build build
|
||||||
- name: test
|
- name: test
|
||||||
run: cd build ; ctest -j 10
|
run: cd build ; ctest -j 10
|
||||||
@@ -9,11 +9,9 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: prepare
|
|
||||||
run: mkdir build
|
|
||||||
- name: cmake
|
- name: cmake
|
||||||
run: cd build ; cmake ..
|
run: cmake -S . -B build
|
||||||
- name: build
|
- name: build
|
||||||
run: make -C build
|
run: cmake --build build
|
||||||
- name: test
|
- name: test
|
||||||
run: cd build ; ctest -j 10
|
run: cd build ; ctest -j 10
|
||||||
@@ -9,11 +9,9 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: prepare
|
|
||||||
run: mkdir build
|
|
||||||
- name: cmake
|
- name: cmake
|
||||||
run: cd build ; cmake .. -G "Visual Studio 16 2019"
|
run: cmake -S . -B build -G "Visual Studio 16 2019"
|
||||||
- name: build
|
- name: build
|
||||||
run: make -C build
|
run: cmake --build build
|
||||||
- name: test
|
- name: test
|
||||||
run: cd build ; ctest -j 10
|
run: cd build ; ctest -j 10
|
||||||
Reference in new issue
Block a user