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 00c8dfb commit b432ce9
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,33 +89,44 @@ jobs:
run: >
cmake
-B cmake_build_main -G Ninja
-DCMAKE_BUILD_TYPE={{matrix.type}}
-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(uopenapi)
run: >
cmake
-B cmake_build_uopenapi -G Ninja -S uopenapi
-DCMAKE_BUILD_TYPE={{matrix.type}}
-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)
- name: Cat ninja (uopenapi)
run: |
cat cmake_build_uopenapi/build.ninja
- name: Build project
- name: Build project(uopenapi)
run: >
cmake
--build cmake_build_uopenapi
--target all
- name: Run tests(uopenapi)
run: |
cd cmake_build_uopenapi
(test -t 1 && GTEST_COLOR=1 PYTEST_ADDOPTS="--color=yes" ctest -V) || ctest -V
- name: Build project (main)
run: >
cmake
--build cmake_build_main
--target all
- name: Run tests
- name: Run tests (main)
run: |
cd cmake_build_main
(test -t 1 && GTEST_COLOR=1 PYTEST_ADDOPTS="--color=yes" ctest -V) || ctest -V

0 comments on commit b432ce9

Please sign in to comment.