From 99ad4f3472a5722ce61cff2c2c9b18f123822fd3 Mon Sep 17 00:00:00 2001 From: JosiahWI <41302989+JosiahWI@users.noreply.github.com> Date: Sun, 16 Oct 2022 22:45:10 -0500 Subject: [PATCH] Fix path to tests in CI and use Ninja --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 71bd41a1..e4805066 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,16 +17,16 @@ jobs: - name: Install deps run: | apt-get update - apt-get install g++ cmake libxi-dev libgl1-mesa-dev libpng-dev libjpeg-dev zlib1g-dev -qyy + apt-get install g++ cmake ninja-build libxi-dev libgl1-mesa-dev libpng-dev libjpeg-dev zlib1g-dev -qyy - name: Build run: | - cmake . - make VERBOSE=1 -j2 + cmake -S . -B . -G Ninja + cmake --build . -v - name: Test run: | - ./bin/Linux/tests/tests + ./bin/Linux/tests - name: Package run: |