mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Set a fixed version of cmake to fix issues with GitHub actions
This commit is contained in:
parent
b03b23aba2
commit
9a8ffe403e
10
.github/workflows/ResInsightWithCache.yml
vendored
10
.github/workflows/ResInsightWithCache.yml
vendored
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user