Skip to content

Commit

Permalink
Use ninja on Linux CI
Browse files Browse the repository at this point in the history
  • Loading branch information
r52 committed Mar 27, 2023
1 parent 08ecf11 commit 189b863
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ jobs:
arch: ${{ matrix.arch }}
modules: qtwebengine qtpositioning qtwebchannel qtnetworkauth qtserialport

- name: Set up Ninja
if: runner.os == 'Linux'
run: sudo apt-get install -y ninja-build

- name: Set up Clang
if: matrix.builder == 'ubuntu-clang'
uses: egor-tensin/setup-clang@v1
Expand All @@ -79,7 +83,7 @@ jobs:
env:
CC: ${{ matrix.cc }}
CXX: ${{ matrix.cxx }}
run: cmake --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -S./ -B./build -G "Unix Makefiles"
run: cmake --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -S./ -B./build -G Ninja

- name: Build Project
run: cmake --build ./build --config Release --
Expand Down

0 comments on commit 189b863

Please sign in to comment.