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