Skip to content

Commit

Permalink
link GH release binaries with static ssl libs (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
scareything committed Aug 17, 2023
1 parent 030a9a4 commit 0beaa3c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@ jobs:
- os: ubuntu-20.04
container: openziti/ziti-builder:1.0.3
name: Linux x86_64
preset: linux-x64
preset: linux-x64-static-libssl

- os: ubuntu-20.04
container: openziti/ziti-builder:1.0.3
name: Linux arm
preset: linux-arm
preset: linux-arm-static-libssl

- os: ubuntu-20.04
container: openziti/ziti-builder:1.0.3
name: Linux arm64
preset: linux-arm64
preset: linux-arm64-static-libssl

steps:
- name: checkout workspace
Expand Down
20 changes: 20 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,26 @@
"VCPKG_CHAINLOAD_TOOLCHAIN_FILE": "${sourceDir}/toolchains/Linux-arm.cmake"
}
},
{
"name": "ci-linux-static-libssl",
"description": "preset to use static ssl libs provided by vcpkg for broad compatibility of GH release binaries",
"cacheVariables": {
"VCPKG_OVERLAY_PORTS": "${sourceDir}/vcpkg-overlays/linux-syslibs/ubuntu18"
},
"hidden": true
},
{
"name": "ci-linux-x64-static-libssl",
"inherits": [ "ci-linux-static-libssl", "ci-linux-x64" ]
},
{
"name": "ci-linux-arm64-static-libssl",
"inherits": [ "ci-linux-static-libssl", "ci-linux-arm64" ]
},
{
"name": "ci-linux-arm-static-libssl",
"inherits": [ "ci-linux-static-libssl", "ci-linux-arm" ]
},
{
"name": "ci-windows-x64",
"inherits": [
Expand Down

0 comments on commit 0beaa3c

Please sign in to comment.