diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 20773ee..d30bd35 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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