mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-18 00:08:20 +01:00
Use a better action for getting CMake 3.5
This commit is contained in:
parent
1b9d3ca502
commit
86401f4019
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user