From 732831e3b7c894eb79c5b57d0cfac757111a3520 Mon Sep 17 00:00:00 2001 From: Foo Date: Sun, 10 Dec 2023 00:43:02 +0100 Subject: [PATCH] ninja for tests --- .github/workflows/runTests.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/runTests.yml b/.github/workflows/runTests.yml index 7872cdce..24dcc2e4 100644 --- a/.github/workflows/runTests.yml +++ b/.github/workflows/runTests.yml @@ -17,10 +17,10 @@ jobs: include: - name: ubuntu-gcc os: ubuntu-latest - compiler_opt: "-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -G \"Unix Makefiles\" -DBUILD_EFG_COMPILER_CHECK=ON" + compiler_opt: "-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -G \"Ninja\" -DBUILD_EFG_COMPILER_CHECK=ON" - name: ubuntu-clang os: ubuntu-latest - compiler_opt: "-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -G \"Unix Makefiles\" -DBUILD_EFG_COMPILER_CHECK=ON" + compiler_opt: "-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -G \"Ninja\" -DBUILD_EFG_COMPILER_CHECK=ON" - name: windows-VS os: windows-latest compiler_opt: "" @@ -31,6 +31,8 @@ jobs: uses: actions/checkout@v2.0.0 - name: Checkout submodules run: git submodule update --init --recursive + - name: SetUpNinja + uses: seanmiddleditch/gha-setup-ninja@master - name: CMake configure run: cmake -B./build -DCMAKE_INSTALL_PREFIX:STRING=./artifacts/ -DBUILD_EFG_SAMPLES=OFF -DBUILD_EFG_TESTS=ON -DCMAKE_CONFIGURATION_TYPES="Release" -DCMAKE_BUILD_TYPE:STRING=Release ${{ matrix.compiler_opt }} - name: Build