mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
GHA: Disable install and use of grpc on GitHub Actions
* GHA: Disable install and use of grpc on GitHub Actions The current grpc package installed as part of vcpkg is huge, and is rejected from the cache on GitHub Action. This causes a very long build time for Windows builds. Temporarily disable build of grpc for Windows
This commit is contained in:
parent
2bcdc62931
commit
ed66ee9355
9
.github/workflows/ResInsightWithCache.yml
vendored
9
.github/workflows/ResInsightWithCache.yml
vendored
@ -30,9 +30,9 @@ jobs:
|
||||
os: windows-2022,
|
||||
cc: "cl",
|
||||
cxx: "cl",
|
||||
build-python-module: true,
|
||||
build-python-module: false,
|
||||
execute-unit-tests: true,
|
||||
execute-pytests: true,
|
||||
execute-pytests: false,
|
||||
unity-build: true,
|
||||
publish-to-pypi: false,
|
||||
vcpkg-bootstrap: bootstrap-vcpkg.bat,
|
||||
@ -187,6 +187,11 @@ jobs:
|
||||
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
|
||||
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
|
||||
|
||||
- name: Replace and use vcpkg.json without grpc
|
||||
if: contains( matrix.config.os, 'windows')
|
||||
run: |
|
||||
cp vcpkg_no_grpc.json vcpkg.json
|
||||
|
||||
- name: vcpkg bootstrap
|
||||
run: |
|
||||
ThirdParty/vcpkg/${{ matrix.config.vcpkg-bootstrap }}
|
||||
|
17
vcpkg_no_grpc.json
Normal file
17
vcpkg_no_grpc.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"dependencies": [
|
||||
"arrow",
|
||||
"boost-filesystem",
|
||||
"boost-spirit",
|
||||
"eigen3",
|
||||
"type-lite",
|
||||
"fast-float",
|
||||
"spdlog"
|
||||
],
|
||||
"overrides": [
|
||||
{
|
||||
"name": "fmt",
|
||||
"version": "10.1.1"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user