diff --git a/.github/workflows/Ubuntu.yml b/.github/workflows/Ubuntu.yml index a3c49c7..3df620e 100644 --- a/.github/workflows/Ubuntu.yml +++ b/.github/workflows/Ubuntu.yml @@ -50,8 +50,14 @@ jobs: binary_dir: '../build' variables: | CMAKE_BUILD_TYPE=Debug - - name: Build - run: cmake --build build --parallel 2 + + - name: 🛠️ run-cmake (build) + uses: cmake-tools/run-cmake@v0-alpha + id: build + with: + mode: build + clean_first: true + - name: Test run: cd build ; ctest -C Debug --output-on-failure @@ -94,8 +100,14 @@ jobs: binary_dir: '../build' variables: | CMAKE_BUILD_TYPE=Debug - - name: Build - run: cmake --build build --parallel 2 + + - name: 🛠️ run-cmake (build) + uses: cmake-tools/run-cmake@v0-alpha + id: build + with: + mode: build + clean_first: true + - name: Test run: cd build ; ctest -C Debug --output-on-failure ${{ env.CTEST_VERBOSITY }} @@ -139,7 +151,12 @@ jobs: variables: | CMAKE_BUILD_TYPE=Debug - - name: Build - run: cmake --build build --parallel 2 + - name: 🛠️ run-cmake (build) + uses: cmake-tools/run-cmake@v0-alpha + id: build + with: + mode: build + clean_first: true + - name: Test run: cd build ; ctest -C Debug --output-on-failure ${{ env.CTEST_VERBOSITY }}