mirror of
https://github.com/quantum5/ntfy-run.git
synced 2025-04-24 21:52:04 -04:00
Build custom static OpenSSL
This commit is contained in:
parent
9642dffce8
commit
b1e4ac2674
17
.github/workflows/release.yml
vendored
17
.github/workflows/release.yml
vendored
|
@ -9,9 +9,26 @@ jobs:
|
||||||
build:
|
build:
|
||||||
name: Publish binaries
|
name: Publish binaries
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
env:
|
||||||
|
OPENSSL_DIR: /opt/openssl
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
- uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: /opt/openssl
|
||||||
|
key: openssl-3.3.2
|
||||||
|
id: openssl-cache
|
||||||
|
- name: Build OpenSSL
|
||||||
|
run: |
|
||||||
|
mkdir openssl
|
||||||
|
cd openssl
|
||||||
|
curl -L https://github.com/openssl/openssl/releases/download/openssl-3.3.2/openssl-3.3.2.tar.gz | \
|
||||||
|
tar -xz --strip-components=1
|
||||||
|
./Configure --prefix=$OPENSSL_DIR --libdir=lib linux-x86_64 -fPIC -g no-shared
|
||||||
|
make -j$(nproc)
|
||||||
|
make install_sw
|
||||||
|
if: '!steps.openssl-cache.outputs.cache-hit'
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: |
|
run: |
|
||||||
cargo build --release
|
cargo build --release
|
||||||
|
|
Loading…
Reference in a new issue