Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
sabudilovskiy committed Apr 1, 2024
1 parent fb688a0 commit db4e3cc
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db4e3cc

Please sign in to comment.