Use a better action for getting CMake 3.5

This commit is contained in:
Josiah VanderZee 2022-11-10 14:02:31 -06:00 committed by JosiahWI
parent 1b9d3ca502
commit 86401f4019
No known key found for this signature in database
GPG Key ID: C7BB8573A4ABC4B9

View File

@ -100,17 +100,17 @@ jobs:
- name: Install deps - name: Install deps
run: | run: |
apt-get update 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 - name: Setup CMake
uses: jwlawson/actions-setup-cmake@v1.13 uses: lukka/get-cmake@latest
with: with:
cmake-version: "3.5.x" cmakeVersion: 3.5.2
- name: Build - name: Build
run: | run: |
cmake -G Ninja -DCMAKE_CXX_COMPILER=/usr/bin/g++-5 -DCMAKE_BUILD_TYPE=Release . cmake3.5.2 -G Ninja -DCMAKE_CXX_COMPILER=/usr/bin/g++-5 -DCMAKE_BUILD_TYPE=Release .
cmake --build . cmake3.5.2 --build .
- name: Test - name: Test
run: | run: |