Skip to content

Commit d61c6ca

Browse files
committed
fix: add openssl deps in gh actions
1 parent 908b524 commit d61c6ca

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/rust.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ jobs:
4040
steps:
4141
- uses: actions/checkout@v4
4242
- uses: dtolnay/rust-toolchain@stable
43-
- name: Install protobuf compiler
44-
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
43+
- name: Install build dependencies (protobuf, OpenSSL)
44+
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler pkg-config libssl-dev
4545
- name: Cache cargo
4646
uses: Swatinem/rust-cache@v2
4747
with: { cache-on-failure: true }
@@ -70,6 +70,9 @@ jobs:
7070
build:
7171
runs-on: ubuntu-latest
7272
needs: matrix
73+
env:
74+
OPENSSL_STATIC: "1"
75+
OPENSSL_NO_PKG_CONFIG: "1"
7376
strategy:
7477
fail-fast: false
7578
matrix:

0 commit comments

Comments
 (0)