Merge branch 'linux-libssl3' into 'master'

Upgrade to OpenSSL 3.x

See merge request timvisee/ffsend!43
This commit is contained in:
Tim Visée 2025-02-04 19:51:26 +00:00
commit a7143bb1ee

View file

@ -5,7 +5,7 @@
# - export a build artifact from the new job
# - manually upload artifact to GitHub in the 'github-release' job
image: "rust:slim"
image: "rust:slim-bookworm"
stages:
- check
@ -95,9 +95,9 @@ build-x86_64-linux-musl:
# Build OpenSSL statically
- apt-get install -y build-essential wget musl-tools
- wget https://www.openssl.org/source/old/1.1.1/openssl-1.1.1k.tar.gz
- tar xzvf openssl-1.1.1k.tar.gz
- cd openssl-1.1.1k
- wget https://github.com/openssl/openssl/releases/download/openssl-3.0.15/openssl-3.0.15.tar.gz
- tar xzvf openssl-3.0.15.tar.gz
- cd openssl-3.0.15
- ./config no-async -fPIC --openssldir=/usr/local/ssl --prefix=/usr/local
- make
- make install
@ -105,7 +105,7 @@ build-x86_64-linux-musl:
# Statically build ffsend
- export OPENSSL_STATIC=1
- export OPENSSL_LIB_DIR=/usr/local/lib
- export OPENSSL_LIB_DIR=/usr/local/lib64
- export OPENSSL_INCLUDE_DIR=/usr/local/include
- cargo build --target=$RUST_TARGET --release --verbose