Skip to content

Commit

Permalink
Update cmake-multi-platform.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zourenDevote committed Aug 15, 2023
1 parent 54ae106 commit 559933e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,16 @@ jobs:
sudo apt-get install build-essential
sudo apt-get install cmake
- name: Configure and build with CMake (Linux)
- name: Configure CMake (Linux)
run: |
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Debug -DENABLE_CTEST=On
cmake --build ${{github.workspace}}/build -j 'nproc'
cmake --build ${{github.workspace}}/build
- name: Test
- name: Build and Test
working-directory: ${{github.workspace}}/build
run: |
ctest -j 'nproc' --stop-on-failure
cmake -j 16
ctest -j 16 --stop-on-failure
build-linux-release:
runs-on: ubuntu-latest
Expand All @@ -50,12 +51,12 @@ jobs:
- name: Configure and build with CMake (Linux)
run: |
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Release -DENABLE_CTEST=On
cmake --build ${{github.workspace}}/build -j 'nproc'
- name: Test
- name: Build and Test
working-directory: ${{github.workspace}}/build
run: |
ctest -j 'nproc' --stop-on-failure
make -j 16
ctest -j 16 --stop-on-failure

Expand Down

0 comments on commit 559933e

Please sign in to comment.