👷 simplify CMake invocations

parent ab02b082
......@@ -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
......@@ -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
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment