From 86401f40195ae996191061d6f1326a1334c6d802 Mon Sep 17 00:00:00 2001 From: Josiah VanderZee Date: Thu, 10 Nov 2022 14:02:31 -0600 Subject: [PATCH] Use a better action for getting CMake 3.5 --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7d405980..9ce1759f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -100,17 +100,17 @@ jobs: - name: Install deps run: | apt-get update - apt-get install g++-5 ninja-build libidn11 libxi-dev libgl1-mesa-dev libpng-dev libjpeg-dev zlib1g-dev -qyy + apt-get install unzip g++-5 libidn11 libxi-dev libgl1-mesa-dev libpng-dev libjpeg-dev zlib1g-dev -qyy - name: Setup CMake - uses: jwlawson/actions-setup-cmake@v1.13 + uses: lukka/get-cmake@latest with: - cmake-version: "3.5.x" + cmakeVersion: 3.5.2 - name: Build run: | - cmake -G Ninja -DCMAKE_CXX_COMPILER=/usr/bin/g++-5 -DCMAKE_BUILD_TYPE=Release . - cmake --build . + cmake3.5.2 -G Ninja -DCMAKE_CXX_COMPILER=/usr/bin/g++-5 -DCMAKE_BUILD_TYPE=Release . + cmake3.5.2 --build . - name: Test run: |