Skip to content

Commit

Permalink
feat test: gh ci ninja
Browse files Browse the repository at this point in the history
alexiprof committed Feb 8, 2024
1 parent ae31737 commit f8cb1d2
Showing 2 changed files with 7 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -126,7 +126,7 @@ jobs:
run: |
mkdir build_debug
cd build_debug
cmake ${{matrix.cmake-flags}} ..
cmake -GNinja ${{matrix.cmake-flags}} ..
- name: Run clang-tidy
if: matrix.info == 'clang-14 + debug + sanitize addr+ub'
@@ -148,8 +148,7 @@ jobs:
- name: Compile
run: |
pwd
cd build_debug
make -j$(nproc)
cmake --build build_debug/
- name: Run tests (universal)
run: |
9 changes: 5 additions & 4 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
@@ -76,12 +76,13 @@ jobs:
&& ccache -s'

- name: Cmake
run: docker-compose run --rm ${{ matrix.image }} bash -c 'cmake -DUSERVER_GOOGLE_COMMON_PROTOS=/app/api-common-protos
${{ matrix.cmake-flags }} -B./build -S./'
run: docker-compose run --rm ${{ matrix.image }} bash -c 'cmake -GNinja
-DUSERVER_GOOGLE_COMMON_PROTOS=/app/api-common-protos ${{ matrix.cmake-flags
}} -B./build -S./'

- name: Build
run: docker-compose run --rm ${{ matrix.image }} bash -c 'cd /userver/build
&& make -j $(nproc)'
run: docker-compose run --rm ${{ matrix.image }} bash -c 'cmake --build
/userver/build'

- name: Run tests
run: docker-compose run --rm ${{ matrix.image }} bash -c 'cd /userver/build

0 comments on commit f8cb1d2

Please sign in to comment.