mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
Add vcpkg-configuration-rhel8.json with an independent baseline that can be updated separately from the default config. The RHEL8 CI workflow copies this file over vcpkg-configuration.json before running cmake. Add vcpkg-readme.md documenting the configuration files and their usage.
1.1 KiB
1.1 KiB
vcpkg Configuration
Files
| File | Purpose |
|---|---|
vcpkg-configuration.json |
Default registry configuration used by all builds |
vcpkg-configuration-rhel8.json |
RHEL8-specific registry configuration with a separate baseline |
Changing the baseline
The baseline field in each configuration file pins the vcpkg registry to a specific commit of microsoft/vcpkg. Packages available at that commit are used for dependency resolution.
- Update
vcpkg-configuration.jsonfor the default (Ubuntu/Windows) builds. - Update
vcpkg-configuration-rhel8.jsonindependently when a different baseline is needed for RHEL8 (Rocky Linux 8) compatibility — e.g. to match older system libraries (glibc 2.28, OpenSSL 1.1).
RHEL8 CI usage
The workflow .github/workflows/rhel8-unit-tests.yml copies vcpkg-configuration-rhel8.json over vcpkg-configuration.json before invoking cmake:
- name: Use RHEL8 vcpkg configuration
run: cp vcpkg-configuration-rhel8.json vcpkg-configuration.json
This ensures vcpkg uses the RHEL8 baseline without affecting other CI runs.