Remove debug symbols for Windows vcpkg builds

The cache on GitHub is limited to 10 GB. Recent versions of vcpkg includes debug symbols in Windows release builds, and creates really huge binary libraries.

To make sure the binaries fit into the cache, the debug symbols are removed from both debug and release builds.
This commit is contained in:
Magne Sjaastad 2025-02-09 18:41:07 +01:00 committed by GitHub
parent 7e523e340a
commit 33c94abd21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 7 deletions

View File

@ -187,11 +187,6 @@ 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 }}

2
.gitmodules vendored
View File

@ -3,7 +3,7 @@
url = https://github.com/CeetronSolutions/qwt.git
[submodule "ThirdParty/vcpkg"]
path = ThirdParty/vcpkg
url = https://github.com/microsoft/vcpkg
url = https://github.com/CeetronSolutions/vcpkg
[submodule "ThirdParty/custom-opm-common/opm-common"]
path = ThirdParty/custom-opm-common/opm-common
url = https://github.com/CeetronSolutions/opm-common

2
ThirdParty/vcpkg vendored

@ -1 +1 @@
Subproject commit cf035d9916a0a23042b41fcae7ee0386d245af08
Subproject commit 04bec276dbdaddc30f629062a7e3b235d2d13136