CI: install libssl-dev + pkg-config for openssl-sys
build-test-release / release (push) Successful in 17m10s

Run 2 got past the wx build (the bash fix worked) but cargo build --release
failed in openssl-sys 0.9.117: the debian:trixie-slim CI image has no OpenSSL
dev headers, which a transitive asic-rs dependency links. Add an install step
(libssl-dev, pkg-config, ca-certificates) before the build. actions/cache only
saves the wx prefix on job success, so this is the minimal change to get a
green run and persist the ~10-min wx build for subsequent iterations.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y8h447BPyJR4fioYZvQ9bh
This commit is contained in:
2026-09-16 19:00:55 -06:00
co-authored by Claude Opus 4.8
parent 717284d66d
commit 329ea0895d
+8
View File
@@ -21,6 +21,14 @@ jobs:
id: ver
run: bash ci/compute-version.sh | tee -a "$GITHUB_OUTPUT"
- name: Install build dependencies
if: steps.ver.outputs.release == 'true'
run: |
apt-get update -qq
apt-get install -y -qq --no-install-recommends \
libssl-dev pkg-config ca-certificates >/dev/null
echo "libssl-dev + pkg-config installed (openssl-sys needs them)"
- name: Cache vendored wxWidgets build
if: steps.ver.outputs.release == 'true'
uses: actions/cache@v4