File tree Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 5959 ;;
6060 esac
6161
62- dnf install -y cmake ninja-build git
62+ dnf install -y cmake git
6363
6464 - name : Checkout
6565 uses : actions/checkout@v4
7777 ;;
7878 esac
7979
80- cmake -B build -G Ninja \
80+ cmake -B build -G "Unix Makefiles" \
8181 -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
8282 -DCMAKE_C_COMPILER="${CC}" \
8383 -DCMAKE_CXX_COMPILER="${CXX}" \
8989
9090 - name : Test
9191 working-directory : build/test
92- run : ctest -C ${{ env.BUILD_TYPE }} -j $(nproc) --output-on-failure
92+ run : make check
Original file line number Diff line number Diff line change 3232
3333 - name : Test
3434 working-directory : build
35- run : ctest -C ${{ env.BUILD_TYPE }} -j $(sysctl -n hw.ncpu) --output-on-failure
35+ run : make check
Original file line number Diff line number Diff line change @@ -26,17 +26,12 @@ jobs:
2626 runs-on : ${{ matrix.os }}
2727
2828 steps :
29- - name : Install Dependencies
30- run : |
31- sudo apt-get update
32- sudo apt-get install -y ninja-build
33-
3429 - uses : actions/checkout@v4
3530
3631 - name : Configure CMake
3732 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
3833 # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
39- run : cmake -B build -G Ninja \
34+ run : cmake -B build -G "Unix Makefiles" \
4035 -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
4136 -DCMAKE_CXX_COMPILER=${{ matrix.compiler_version }} \
4237 -DCXX_STD=${{ matrix.cxx_std }}
4641 run : cmake --build .
4742
4843 - name : Test
49- working-directory : build
50- run : ctest -C ${{ env.BUILD_TYPE }} -j $(nproc) --output-on-failure
44+ run : make check
You can’t perform that action at this time.
0 commit comments