mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Improve main github action for daily builds
Remove qtscript Remove use of obsolete action Improve cache key for vcpkg
This commit is contained in:
parent
b30a8507a9
commit
baf379701c
8
.github/workflows/ResInsightWithCache.yml
vendored
8
.github/workflows/ResInsightWithCache.yml
vendored
@ -152,14 +152,9 @@ jobs:
|
|||||||
uses: jurplel/install-qt-action@v3
|
uses: jurplel/install-qt-action@v3
|
||||||
with:
|
with:
|
||||||
version: 5.12.12
|
version: 5.12.12
|
||||||
modules: qtscript
|
|
||||||
dir: "${{ github.workspace }}/Qt/"
|
dir: "${{ github.workspace }}/Qt/"
|
||||||
cache: true
|
cache: true
|
||||||
|
|
||||||
- name: Set vcpkg's response file path used as part of cache's key.
|
|
||||||
uses: lukka/set-shell-env@master
|
|
||||||
with:
|
|
||||||
VCPKGRESPONSEFILE: ${{ github.workspace }}/${{ matrix.config.vcpkg-response-file }}
|
|
||||||
- name: Restore from cache and install vcpkg
|
- name: Restore from cache and install vcpkg
|
||||||
uses: lukka/run-vcpkg@v7
|
uses: lukka/run-vcpkg@v7
|
||||||
id: runvcpkg
|
id: runvcpkg
|
||||||
@ -167,8 +162,7 @@ jobs:
|
|||||||
vcpkgArguments: "@${{ github.workspace }}/${{ matrix.config.vcpkg-response-file }}"
|
vcpkgArguments: "@${{ github.workspace }}/${{ matrix.config.vcpkg-response-file }}"
|
||||||
vcpkgDirectory:
|
vcpkgDirectory:
|
||||||
"${{ github.workspace }}/ThirdParty/vcpkg"
|
"${{ github.workspace }}/ThirdParty/vcpkg"
|
||||||
# Ensure the cache key changes any time the content of the response file changes.
|
appendedCacheKey: ${{ matrix.config.os }}-${{ matrix.config.cxx }}-cache-key-v2
|
||||||
appendedCacheKey: ${{ hashFiles(env.VCPKGRESPONSEFILE) }}-cache-key-v2
|
|
||||||
|
|
||||||
- name: Cache dynamic version of OpenSSL (Linux)
|
- name: Cache dynamic version of OpenSSL (Linux)
|
||||||
if: "contains( matrix.config.os, 'ubuntu_disabled')"
|
if: "contains( matrix.config.os, 'ubuntu_disabled')"
|
||||||
|
Loading…
Reference in New Issue
Block a user