mirror of
https://github.com/timvisee/ffsend.git
synced 2025-10-03 17:49:15 +02:00
Merge branch 'linux-libssl3' into 'master'
Upgrade to OpenSSL 3.x See merge request timvisee/ffsend!43
This commit is contained in:
commit
a7143bb1ee
1 changed files with 5 additions and 5 deletions
|
@ -5,7 +5,7 @@
|
||||||
# - export a build artifact from the new job
|
# - export a build artifact from the new job
|
||||||
# - manually upload artifact to GitHub in the 'github-release' job
|
# - manually upload artifact to GitHub in the 'github-release' job
|
||||||
|
|
||||||
image: "rust:slim"
|
image: "rust:slim-bookworm"
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- check
|
- check
|
||||||
|
@ -95,9 +95,9 @@ build-x86_64-linux-musl:
|
||||||
|
|
||||||
# Build OpenSSL statically
|
# Build OpenSSL statically
|
||||||
- apt-get install -y build-essential wget musl-tools
|
- 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
|
- wget https://github.com/openssl/openssl/releases/download/openssl-3.0.15/openssl-3.0.15.tar.gz
|
||||||
- tar xzvf openssl-1.1.1k.tar.gz
|
- tar xzvf openssl-3.0.15.tar.gz
|
||||||
- cd openssl-1.1.1k
|
- cd openssl-3.0.15
|
||||||
- ./config no-async -fPIC --openssldir=/usr/local/ssl --prefix=/usr/local
|
- ./config no-async -fPIC --openssldir=/usr/local/ssl --prefix=/usr/local
|
||||||
- make
|
- make
|
||||||
- make install
|
- make install
|
||||||
|
@ -105,7 +105,7 @@ build-x86_64-linux-musl:
|
||||||
|
|
||||||
# Statically build ffsend
|
# Statically build ffsend
|
||||||
- export OPENSSL_STATIC=1
|
- 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
|
- export OPENSSL_INCLUDE_DIR=/usr/local/include
|
||||||
- cargo build --target=$RUST_TARGET --release --verbose
|
- cargo build --target=$RUST_TARGET --release --verbose
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue