Skip to content

Commit 71af3eb

Browse files
committed
Updated CI tests to compile OpenSSL 3.5 from sources for dynamic linking.
1 parent 1518c3d commit 71af3eb

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

‎.github/workflows/ci.yml‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,17 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- name: build with ${{ matrix.cc }}
1515
run: |
16-
make sslscan
16+
# Since ubuntu-latest does not ship with OpenSSL >= v3.5, dynamic linking will fail unless we build and install it.
17+
git clone -b openssl-3.5 https://github.com/openssl/openssl
18+
pushd openssl
19+
git fetch --tags
20+
git checkout openssl-3.5.0
21+
./config --prefix=/opt/openssl35 shared
22+
make -j $(nproc --all)
23+
make install
24+
popd
25+
26+
make sslscan LDFLAGS=-L/opt/openssl35 CFLAGS=-I/opt/openssl35/include
1727
make static
1828
env:
1929
CC: ${{ matrix.cc }}

0 commit comments

Comments
 (0)