From 56b7d81a3ee1155919cdce5bc0616ec546bed068 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Mon, 6 Nov 2023 18:05:19 -0700 Subject: [PATCH] Install Ninja --- .github/workflows/ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c3deec..f3eacc4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,15 +33,17 @@ jobs: - { name: Debug } steps: + - name: Get CMake and Ninja + uses: lukka/get-cmake@latest + with: + cmakeVersion: ${{ runner.os == 'Windows' && '3.24' || '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