Skip to content

Commit

Permalink
Remove debug symbols for Windows vcpkg builds
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
magnesj authored Feb 9, 2025
1 parent 7e523e3 commit 33c94ab
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ResInsightWithCache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ThirdParty/vcpkg

0 comments on commit 33c94ab

Please sign in to comment.