Skip to content

Commit

Permalink
Add ninja
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Vaneev <warchantua@gmail.com>
  • Loading branch information
Warchant committed Sep 29, 2019
1 parent 752f8dd commit a1e18c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@ jobs:
submodules: true
clean: true
fetch-depth: 1
- name: install ninja
run: |
sudo apt-get update && sudo apt-get install -y ninja-build
- name: cmake
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # has to be included to access other secrets
GITHUB_HUNTER_USERNAME: ${{ secrets.GITHUB_HUNTER_USERNAME }}
GITHUB_HUNTER_TOKEN: ${{ secrets.GITHUB_HUNTER_TOKEN }}
run: cmake . -Bbuild -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/${TOOLCHAIN}
run: cmake . -GNinja -Bbuild -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/${{ matrix.toolchain }}}
- name: build
run: cmake --build build -- -j4

0 comments on commit a1e18c6

Please sign in to comment.