Skip to content

Commit

Permalink
Install ninja on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
shg8 committed Apr 2, 2024
1 parent 6e5bb93 commit c97ee72
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ jobs:
run: brew install ninja
if: runner.os == 'macOS'

- name: Install ninja (Windows)
shell: bash
run: choco install ninja
if: runner.os == 'Windows'

- name: Install dependencies
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update && sudo apt-get install -y libglfw3-dev libglm-dev ninja-build
Expand All @@ -105,7 +110,7 @@ jobs:
- name: Build
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} -j3
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} -j

- name: Stage binary for release
shell: bash
Expand Down

0 comments on commit c97ee72

Please sign in to comment.