Skip to content

Commit

Permalink
Install Ninja
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisThrasher committed Nov 7, 2023
1 parent d75897c commit ba22e6c
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,17 @@ jobs:
- { name: Debug }

steps:
- name: Get CMake and Ninja
uses: lukka/get-cmake@latest
with:
cmakeVersion: 3.22
ninjaVersion: latest

- name: Install Linux Dependencies
if: runner.os == 'Linux'
run: |
sudo apt update
sudo apt install ninja-build llvm xorg-dev libxrandr-dev libxcursor-dev libudev-dev libopenal-dev libflac-dev libvorbis-dev libgl1-mesa-dev libegl1-mesa-dev
- name: Install macOS Tools
if: runner.os == 'macOS'
run: brew install ninja
sudo apt install llvm xorg-dev libxrandr-dev libxcursor-dev libudev-dev libopenal-dev libflac-dev libvorbis-dev libgl1-mesa-dev libegl1-mesa-dev
- name: Checkout ImGui
uses: actions/checkout@v3
Expand All @@ -64,6 +66,7 @@ jobs:
-DCMAKE_BUILD_TYPE=${{matrix.type.name}} \
-DSFML_BUILD_AUDIO=OFF \
-DSFML_BUILD_NETWORK=OFF \
-DWARNINGS_AS_ERRORS=OFF \
${{matrix.platform.flags}} \
${{matrix.config.flags}}
Expand Down

0 comments on commit ba22e6c

Please sign in to comment.