From db4e3cc53ff01b71e57830a40aa84bd51c618763 Mon Sep 17 00:00:00 2001 From: MRV <sabudilovskiy@yandex.ru> Date: Mon, 1 Apr 2024 21:16:30 +0000 Subject: [PATCH] - --- .github/workflows/ci.yaml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b7aa925..e83e5cf 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -85,19 +85,34 @@ jobs: ccache -M 2.0GB ccache -s - - name: Configure cmake project + - name: Configure cmake project (main) run: > cmake - -B cmake_build + -B cmake_build_main -G Ninja -DCMAKE_BUILD_TYPE={{matrix.type}} -DCMAKE_C_COMPILER=$(make find-c-compiler compiler=${{matrix.compiler}} version=${{matrix.version}}) -DCMAKE_CXX_COMPILER=$(make find-cxx-compiler compiler=${{matrix.compiler}} version=${{matrix.version}}) + - name: Configure cmake project(openapi) + run: > + cmake + -B cmake_build_openapi -G Ninja -S openapi + -DCMAKE_BUILD_TYPE={{matrix.type}} + -DCMAKE_C_COMPILER=$(make find-c-compiler compiler=${{matrix.compiler}} version=${{matrix.version}}) + -DCMAKE_CXX_COMPILER=$(make find-cxx-compiler compiler=${{matrix.compiler}} version=${{matrix.version}}) + + - name: Cat ninja (main) + run: | + cat cmake_build_main/build.ninja + + - name: Cat ninja (openapi) + run: | + cat cmake_build_openapi/build.ninja + - name: Build project run: > cmake --build cmake_build - -j 6 --target all - name: Run tests