Commit a9298e2
committed
ci: verify static driver links against OpenSSL 3.0
Add a Makefile target and CI steps that verify the static driver
archive can link against OpenSSL 3.0.2 (our minimum supported
version). The test copies the already-built static archive and
pkg-config metadata into a sysroot alongside OpenSSL 3.0.2 headers
and static libraries from a pinned Launchpad deb, then attempts to
compile and link examples/ssl/ssl.c.
If the build environment was contaminated (e.g. by Homebrew exposing
a newer OpenSSL with IDEA or 3.3+ APIs), the archive will contain
symbol references that don't exist in OpenSSL 3.0 and the link will
fail — catching the regression from issue #455.
The verification runs in both PR CI (after build-integration-test-bin)
and packaging CI (after test-package-deb), since both produce the
static archive in build/.1 parent 176e259 commit a9298e2
3 files changed
Lines changed: 46 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
278 | 318 | | |
279 | 319 | | |
280 | 320 | | |
| |||
0 commit comments