Skip to content

Commit

Permalink
ci: statically link openssl when building unitctl
Browse files Browse the repository at this point in the history
Signed-off-by: Ava Hahn <a.hahn@f5.com>
  • Loading branch information
avahahn committed Sep 20, 2024
1 parent 24ed91f commit 0e5a549
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/unitctl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
CARGO: cargo
VERSION:
SHORT_VERSION:
OPENSSL_STATIC: YES
OPENSSL_LIB_DIR: /usr/local/lib/
OPENSSL_INCLUDE_DIR: /usr/local/include
strategy:
fail-fast: false
matrix:
Expand All @@ -54,6 +57,11 @@ jobs:
with:
tool: cross

- name: Install Linux dependencies
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt update -y && sudo apt install openssl-static -y
- name: Install macOS depedencies
if: startsWith(matrix.os, 'macos')
run: |
Expand Down

0 comments on commit 0e5a549

Please sign in to comment.