👷 simplify CMake invocations

This commit is contained in:
Niels Lohmann committed 2020-05-12 20:37:50 +02:00
1 parent ab02b08296
commit 6e59c8301a
3 files changed
+6 -12

No files matched your search

+2 -4
View File
@@ -9,11 +9,9 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: prepare
run: mkdir build
- name: cmake
run: cd build ; cmake ..
run: cmake -S . -B build
- name: build
run: make -C build
run: cmake --build build
- name: test
run: cd build ; ctest -j 10
+2 -4
View File
@@ -9,11 +9,9 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: prepare
run: mkdir build
- name: cmake
run: cd build ; cmake ..
run: cmake -S . -B build
- name: build
run: make -C build
run: cmake --build build
- name: test
run: cd build ; ctest -j 10
+2 -4
View File
@@ -9,11 +9,9 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: prepare
run: mkdir build
- name: cmake
run: cd build ; cmake .. -G "Visual Studio 16 2019"
run: cmake -S . -B build -G "Visual Studio 16 2019"
- name: build
run: make -C build
run: cmake --build build
- name: test
run: cd build ; ctest -j 10