Files
auth_service/src/libs/jwt-cpp-0.7.0/.github/actions/install/libressl/action.yml
T
2024-06-14 12:54:25 +07:00

20 lines
686 B
YAML

name: Install LibreSSL
description: Install and setup LibreSSL for linking and building test application
inputs:
version:
description: The desired LibreSSL version to install
required: false
default: "3.3.0"
runs:
using: composite
steps:
- run: |
wget https://raw.githubusercontent.com/libressl-portable/portable/v${{ inputs.version }}/FindLibreSSL.cmake -P cmake/
cd /tmp
wget https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${{ inputs.version }}.tar.gz
tar -zvxf /tmp/libressl-${{ inputs.version }}.tar.gz
cd libressl-${{ inputs.version }}
./configure
sudo make -j $(nproc) install
shell: bash