Set a fixed version of cmake to fix issues with GitHub actions

This commit is contained in:
Magne Sjaastad 2021-08-02 16:06:56 +02:00
parent b03b23aba2
commit 9a8ffe403e

View File

@ -8,7 +8,6 @@ on:
# build cache is
- cron: '0 1 * * * '
env:
NINJA_VERSION: 1.9.0
BUILD_TYPE: Release
BUILDCACHE_VERSION: 0.24.4
BUILDCACHE_DIR: ${{ github.workspace }}/buildcache_dir
@ -73,10 +72,11 @@ jobs:
python-version: '3.8'
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Download Ninja
uses: seanmiddleditch/gha-setup-ninja@master
with:
version: ${{ env.NINJA_VERSION }}
# workaround a poor interaction between github actions/cmake/vcpkg, see https://github.com/lukka/run-vcpkg/issues/88#issuecomment-885758902
- name: Use CMake 3.20.1
uses: lukka/get-cmake@v3.20.1
- name: Download buildcache
id: buildcache-download
shell: cmake -P {0}