👷 simplify CMake invocations

pull/2119/head
Niels Lohmann 2020-05-12 20:37:50 +02:00
parent ab02b08296
commit 6e59c8301a
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
3 changed files with 6 additions and 12 deletions

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

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

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