|
@@ -7,8 +7,9 @@ on:
|
|
types: [published]
|
|
types: [published]
|
|
workflow_dispatch:
|
|
workflow_dispatch:
|
|
jobs:
|
|
jobs:
|
|
- build:
|
|
|
|
|
|
+ build-and-test:
|
|
runs-on: ${{ matrix.os }}
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
+ name: ${{ matrix.env.NAME }}
|
|
strategy:
|
|
strategy:
|
|
fail-fast: true
|
|
fail-fast: true
|
|
matrix:
|
|
matrix:
|
|
@@ -16,8 +17,7 @@ jobs:
|
|
- os: ubuntu-latest
|
|
- os: ubuntu-latest
|
|
compiler: clang
|
|
compiler: clang
|
|
env:
|
|
env:
|
|
- idx: 1
|
|
|
|
- N: Clang-Linux-Minimal-Debug
|
|
|
|
|
|
+ NAME: Clang-Linux-Minimal-Debug
|
|
BUILD_TYPE: Debug
|
|
BUILD_TYPE: Debug
|
|
ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
OPENSSL_1_0: NO
|
|
OPENSSL_1_0: NO
|
|
@@ -42,12 +42,11 @@ jobs:
|
|
- os: ubuntu-latest
|
|
- os: ubuntu-latest
|
|
compiler: clang
|
|
compiler: clang
|
|
env:
|
|
env:
|
|
- idx: 3
|
|
|
|
- N: Clang-Linux-Default-Release
|
|
|
|
|
|
+ NAME: Clang-Linux-Default-Release
|
|
BUILD_TYPE: Release
|
|
BUILD_TYPE: Release
|
|
ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
- OPENSSL_1_0: YES
|
|
|
|
- OPENSSL_1_1: NO
|
|
|
|
|
|
+ OPENSSL_1_0: NO
|
|
|
|
+ OPENSSL_1_1: YES
|
|
ENABLE_CXX: NO
|
|
ENABLE_CXX: NO
|
|
ENABLE_LUA_SHARED: NO
|
|
ENABLE_LUA_SHARED: NO
|
|
C_STANDARD: auto
|
|
C_STANDARD: auto
|
|
@@ -68,12 +67,11 @@ jobs:
|
|
- os: ubuntu-latest
|
|
- os: ubuntu-latest
|
|
compiler: gcc
|
|
compiler: gcc
|
|
env:
|
|
env:
|
|
- idx: 5
|
|
|
|
- N: GCC-Linux-Complete-NoLua-Release
|
|
|
|
|
|
+ NAME: GCC-Linux-Complete-NoLua-Release
|
|
BUILD_TYPE: Release
|
|
BUILD_TYPE: Release
|
|
ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
- OPENSSL_1_0: YES
|
|
|
|
- OPENSSL_1_1: NO
|
|
|
|
|
|
+ OPENSSL_1_0: NO
|
|
|
|
+ OPENSSL_1_1: YES
|
|
ENABLE_CXX: NO
|
|
ENABLE_CXX: NO
|
|
ENABLE_LUA_SHARED: NO
|
|
ENABLE_LUA_SHARED: NO
|
|
C_STANDARD: auto
|
|
C_STANDARD: auto
|
|
@@ -94,12 +92,11 @@ jobs:
|
|
- os: ubuntu-latest
|
|
- os: ubuntu-latest
|
|
compiler: clang
|
|
compiler: clang
|
|
env:
|
|
env:
|
|
- idx: 6
|
|
|
|
- N: CLANG-AnyVersion-Linux-Coverage
|
|
|
|
|
|
+ NAME: CLANG-AnyVersion-Linux-Coverage
|
|
BUILD_TYPE: Coverage
|
|
BUILD_TYPE: Coverage
|
|
ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
- OPENSSL_1_0: YES
|
|
|
|
- OPENSSL_1_1: NO
|
|
|
|
|
|
+ OPENSSL_1_0: NO
|
|
|
|
+ OPENSSL_1_1: YES
|
|
ENABLE_CXX: NO
|
|
ENABLE_CXX: NO
|
|
ENABLE_LUA_SHARED: NO
|
|
ENABLE_LUA_SHARED: NO
|
|
C_STANDARD: auto
|
|
C_STANDARD: auto
|
|
@@ -120,8 +117,7 @@ jobs:
|
|
- os: ubuntu-latest
|
|
- os: ubuntu-latest
|
|
compiler: clang
|
|
compiler: clang
|
|
env:
|
|
env:
|
|
- idx: 9
|
|
|
|
- N: Clang-Linux-Default-Shared
|
|
|
|
|
|
+ NAME: Clang-Linux-Default-Shared
|
|
BUILD_TYPE: Debug
|
|
BUILD_TYPE: Debug
|
|
ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
OPENSSL_1_0: NO
|
|
OPENSSL_1_0: NO
|
|
@@ -146,12 +142,11 @@ jobs:
|
|
- os: ubuntu-latest
|
|
- os: ubuntu-latest
|
|
compiler: gcc
|
|
compiler: gcc
|
|
env:
|
|
env:
|
|
- idx: 15
|
|
|
|
- N: GCCLinuxDefault_RelWithDebInfo
|
|
|
|
|
|
+ NAME: GCCLinuxDefault_RelWithDebInfo
|
|
BUILD_TYPE: RelWithDebInfo
|
|
BUILD_TYPE: RelWithDebInfo
|
|
ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
- OPENSSL_1_0: YES
|
|
|
|
- OPENSSL_1_1: NO
|
|
|
|
|
|
+ OPENSSL_1_0: NO
|
|
|
|
+ OPENSSL_1_1: YES
|
|
ENABLE_CXX: NO
|
|
ENABLE_CXX: NO
|
|
ENABLE_LUA_SHARED: NO
|
|
ENABLE_LUA_SHARED: NO
|
|
C_STANDARD: auto
|
|
C_STANDARD: auto
|
|
@@ -171,12 +166,11 @@ jobs:
|
|
- os: ubuntu-latest
|
|
- os: ubuntu-latest
|
|
compiler: gcc
|
|
compiler: gcc
|
|
env:
|
|
env:
|
|
- idx: 16
|
|
|
|
- N: GCCLinuxDefault_MinSizeRel
|
|
|
|
|
|
+ NAME: GCCLinuxDefault_MinSizeRel
|
|
BUILD_TYPE: MinSizeRel
|
|
BUILD_TYPE: MinSizeRel
|
|
ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
- OPENSSL_1_0: YES
|
|
|
|
- OPENSSL_1_1: NO
|
|
|
|
|
|
+ OPENSSL_1_0: NO
|
|
|
|
+ OPENSSL_1_1: YES
|
|
ENABLE_CXX: NO
|
|
ENABLE_CXX: NO
|
|
ENABLE_LUA_SHARED: NO
|
|
ENABLE_LUA_SHARED: NO
|
|
C_STANDARD: auto
|
|
C_STANDARD: auto
|
|
@@ -196,12 +190,11 @@ jobs:
|
|
- os: ubuntu-latest
|
|
- os: ubuntu-latest
|
|
compiler: gcc
|
|
compiler: gcc
|
|
env:
|
|
env:
|
|
- idx: 17
|
|
|
|
- N: GCCLinuxDefault_None
|
|
|
|
|
|
+ NAME: GCCLinuxDefault_None
|
|
BUILD_TYPE: None
|
|
BUILD_TYPE: None
|
|
ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
- OPENSSL_1_0: YES
|
|
|
|
- OPENSSL_1_1: NO
|
|
|
|
|
|
+ OPENSSL_1_0: NO
|
|
|
|
+ OPENSSL_1_1: YES
|
|
ENABLE_CXX: NO
|
|
ENABLE_CXX: NO
|
|
ENABLE_LUA_SHARED: NO
|
|
ENABLE_LUA_SHARED: NO
|
|
C_STANDARD: auto
|
|
C_STANDARD: auto
|
|
@@ -221,12 +214,11 @@ jobs:
|
|
- os: ubuntu-latest
|
|
- os: ubuntu-latest
|
|
compiler: gcc
|
|
compiler: gcc
|
|
env:
|
|
env:
|
|
- idx: 20
|
|
|
|
- N: GCCLinuxDefault_xenial
|
|
|
|
|
|
+ NAME: GCCLinuxDefault_xenial
|
|
BUILD_TYPE: Release
|
|
BUILD_TYPE: Release
|
|
ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
- OPENSSL_1_0: YES
|
|
|
|
- OPENSSL_1_1: NO
|
|
|
|
|
|
+ OPENSSL_1_0: NO
|
|
|
|
+ OPENSSL_1_1: YES
|
|
ENABLE_CXX: NO
|
|
ENABLE_CXX: NO
|
|
ENABLE_LUA_SHARED: NO
|
|
ENABLE_LUA_SHARED: NO
|
|
C_STANDARD: auto
|
|
C_STANDARD: auto
|
|
@@ -246,8 +238,7 @@ jobs:
|
|
- os: ubuntu-latest
|
|
- os: ubuntu-latest
|
|
compiler: gcc
|
|
compiler: gcc
|
|
env:
|
|
env:
|
|
- idx: 23
|
|
|
|
- N: GCCLinuxDefault_focal
|
|
|
|
|
|
+ NAME: GCCLinuxDefault
|
|
BUILD_TYPE: Release
|
|
BUILD_TYPE: Release
|
|
ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
OPENSSL_1_0: NO
|
|
OPENSSL_1_0: NO
|
|
@@ -267,14 +258,38 @@ jobs:
|
|
NO_CACHING: NO
|
|
NO_CACHING: NO
|
|
ALLOW_WARNINGS: YES
|
|
ALLOW_WARNINGS: YES
|
|
RUN_UNITTEST: 1
|
|
RUN_UNITTEST: 1
|
|
|
|
+
|
|
|
|
+ - os: ubuntu-latest
|
|
|
|
+ compiler: gcc
|
|
|
|
+ env:
|
|
|
|
+ NAME: GCCLinuxDefault_OpenSSL_3_0
|
|
|
|
+ BUILD_TYPE: Release
|
|
|
|
+ ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
|
|
+ OPENSSL_1_0: NO
|
|
|
|
+ OPENSSL_1_1: NO
|
|
|
|
+ OpenSSL_3_0: YES
|
|
|
|
+ ENABLE_CXX: NO
|
|
|
|
+ ENABLE_LUA_SHARED: NO
|
|
|
|
+ C_STANDARD: auto
|
|
|
|
+ CXX_STANDARD: auto
|
|
|
|
+ BUILD_SHARED: NO
|
|
|
|
+ NO_FILES: NO
|
|
|
|
+ ENABLE_SSL: YES
|
|
|
|
+ NO_CGI: NO
|
|
|
|
+ ENABLE_IPV6: NO
|
|
|
|
+ ENABLE_WEBSOCKETS: NO
|
|
|
|
+ ENABLE_LUA: NO
|
|
|
|
+ ENABLE_DUKTAPE: NO
|
|
|
|
+ NO_CACHING: NO
|
|
|
|
+ ALLOW_WARNINGS: YES
|
|
|
|
+ RUN_UNITTEST: 1
|
|
|
|
|
|
# Disable Lua build, until someone knows how to fix the CMake files
|
|
# Disable Lua build, until someone knows how to fix the CMake files
|
|
# see https://github.com/civetweb/civetweb/issues/543
|
|
# see https://github.com/civetweb/civetweb/issues/543
|
|
# - os: ubuntu-lastest
|
|
# - os: ubuntu-lastest
|
|
# compiler: clang
|
|
# compiler: clang
|
|
# env:
|
|
# env:
|
|
- # idx: 99
|
|
|
|
- # N: Clang-Linux-Complete-WithLua-Debug
|
|
|
|
|
|
+ # NAME: Clang-Linux-Complete-WithLua-Debug
|
|
# BUILD_TYPE: Debug
|
|
# BUILD_TYPE: Debug
|
|
# ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
# ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
# OPENSSL_1_0: NO
|
|
# OPENSSL_1_0: NO
|
|
@@ -299,8 +314,7 @@ jobs:
|
|
- os: macos-latest
|
|
- os: macos-latest
|
|
compiler: clang
|
|
compiler: clang
|
|
env:
|
|
env:
|
|
- idx: 8
|
|
|
|
- N: Clang-OSX-Complete-NoLua-Release-OpenSSL_1_1_NoDynLoad
|
|
|
|
|
|
+ NAME: Clang-OSX-Complete-NoLua-Release-OpenSSL_1_1_NoDynLoad
|
|
BUILD_TYPE: Release
|
|
BUILD_TYPE: Release
|
|
ENABLE_SSL_DYNAMIC_LOADING: NO
|
|
ENABLE_SSL_DYNAMIC_LOADING: NO
|
|
OPENSSL_1_0: NO
|
|
OPENSSL_1_0: NO
|
|
@@ -322,18 +336,41 @@ jobs:
|
|
ALLOW_WARNINGS: YES
|
|
ALLOW_WARNINGS: YES
|
|
RUN_UNITTEST: 1
|
|
RUN_UNITTEST: 1
|
|
|
|
|
|
- # mac-os 13 is the last version of MacOS runner using x86_64 architecture
|
|
|
|
- # mac-os 14 and later are using arm64 architecture
|
|
|
|
- # but OpenSSL 1.0 can't compile on arm64, so we set it fixed to mac-os 13
|
|
|
|
- - os: macos-13
|
|
|
|
|
|
+ - os: macos-latest
|
|
compiler: clang
|
|
compiler: clang
|
|
env:
|
|
env:
|
|
- idx: 11
|
|
|
|
- N: OSX-Package
|
|
|
|
|
|
+ NAME: OSX-Package_OpenSSL_1_1
|
|
BUILD_TYPE: Release
|
|
BUILD_TYPE: Release
|
|
ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
- OPENSSL_1_0: YES
|
|
|
|
|
|
+ OPENSSL_1_0: NO
|
|
|
|
+ OPENSSL_1_1: YES
|
|
|
|
+ ENABLE_CXX: NO
|
|
|
|
+ ENABLE_LUA_SHARED: NO
|
|
|
|
+ C_STANDARD: auto
|
|
|
|
+ CXX_STANDARD: auto
|
|
|
|
+ BUILD_SHARED: NO
|
|
|
|
+ NO_FILES: NO
|
|
|
|
+ ENABLE_SSL: YES
|
|
|
|
+ NO_CGI: NO
|
|
|
|
+ ENABLE_IPV6: YES
|
|
|
|
+ ENABLE_WEBSOCKETS: YES
|
|
|
|
+ ENABLE_SERVER_STATS: NO
|
|
|
|
+ ENABLE_LUA: NO
|
|
|
|
+ ENABLE_DUKTAPE: NO
|
|
|
|
+ NO_CACHING: NO
|
|
|
|
+ ALLOW_WARNINGS: YES
|
|
|
|
+ MACOSX_PACKAGE: 1
|
|
|
|
+ RUN_UNITTEST: 1
|
|
|
|
+
|
|
|
|
+ - os: macos-latest
|
|
|
|
+ compiler: clang
|
|
|
|
+ env:
|
|
|
|
+ NAME: OSX-Package_OpenSSL_3_0
|
|
|
|
+ BUILD_TYPE: Release
|
|
|
|
+ ENABLE_SSL_DYNAMIC_LOADING: YES
|
|
|
|
+ OPENSSL_1_0: NO
|
|
OPENSSL_1_1: NO
|
|
OPENSSL_1_1: NO
|
|
|
|
+ OPENSSL_3_0: YES
|
|
ENABLE_CXX: NO
|
|
ENABLE_CXX: NO
|
|
ENABLE_LUA_SHARED: NO
|
|
ENABLE_LUA_SHARED: NO
|
|
C_STANDARD: auto
|
|
C_STANDARD: auto
|
|
@@ -364,31 +401,6 @@ jobs:
|
|
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100
|
|
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100
|
|
sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++ 100
|
|
sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++ 100
|
|
|
|
|
|
- - name: Install OpenSSL 1.0 on modern MacOS
|
|
|
|
- # Needed for recent versions of MacOS as they ship with OpenSSL 1.1 by default
|
|
|
|
- if: startsWith(matrix.os,'macos') && matrix.env.OPENSSL_1_0 == 'YES'
|
|
|
|
- run: |
|
|
|
|
- curl -O -L https://openssl.org/source/old/1.0.2/openssl-1.0.2u.tar.gz
|
|
|
|
- tar -xzf openssl-1.0.2u.tar.gz
|
|
|
|
- cd openssl-1.0.2u
|
|
|
|
- ./Configure --prefix=/usr/local/ssl1.0 --openssldir=/usr/local/ssl1.0 shared shared darwin64-x86_64-cc
|
|
|
|
- make depend
|
|
|
|
- make -j $(nproc)
|
|
|
|
- sudo make install_sw -j $(nproc)
|
|
|
|
-
|
|
|
|
- OPENSSL_ROOT_DIR=/usr/local/ssl1.0
|
|
|
|
- LDFLAGS=-L${OPENSSL_ROOT_DIR}/lib
|
|
|
|
- CFLAGS=-I${OPENSSL_ROOT_DIR}/include
|
|
|
|
- ADDITIONAL_CMAKE_ARGS="-DCMAKE_SHARED_LINKER_FLAGS=${LDFLAGS} -DMAKE_C_FLAGS=${CFLAGS}"
|
|
|
|
- PKG_CONFIG_PATH=${OPENSSL_ROOT_DIR}/lib/pkgconfig
|
|
|
|
-
|
|
|
|
- echo "LDFLAGS=${LDFLAGS}" >> $GITHUB_ENV
|
|
|
|
- echo "CFLAGS=${CFLAGS}" >> $GITHUB_ENV
|
|
|
|
- echo "${OPENSSL_ROOT_DIR}/bin" >> $GITHUB_PATH
|
|
|
|
- echo "ADDITIONAL_CMAKE_ARGS=${ADDITIONAL_CMAKE_ARGS}" >> $GITHUB_ENV
|
|
|
|
- echo "PKG_CONFIG_PATH=${PKG_CONFIG_PATH}" >> $GITHUB_ENV
|
|
|
|
- echo "DYLD_LIBRARY_PATH=${OPENSSL_ROOT_DIR}/lib" >> $GITHUB_ENV
|
|
|
|
-
|
|
|
|
- name: Set up OpenSSL 1.1 on modern MacOS
|
|
- name: Set up OpenSSL 1.1 on modern MacOS
|
|
# OpenSSL 1.1 is installed by default, so we just need to set the paths
|
|
# OpenSSL 1.1 is installed by default, so we just need to set the paths
|
|
if: startsWith(matrix.os,'macos') && matrix.env.OPENSSL_1_1 == 'YES'
|
|
if: startsWith(matrix.os,'macos') && matrix.env.OPENSSL_1_1 == 'YES'
|
|
@@ -398,39 +410,35 @@ jobs:
|
|
CFLAGS=-I${OPENSSL_ROOT_DIR}/include
|
|
CFLAGS=-I${OPENSSL_ROOT_DIR}/include
|
|
ADDITIONAL_CMAKE_ARGS="-DCMAKE_SHARED_LINKER_FLAGS=${LDFLAGS} -DMAKE_C_FLAGS=${CFLAGS}"
|
|
ADDITIONAL_CMAKE_ARGS="-DCMAKE_SHARED_LINKER_FLAGS=${LDFLAGS} -DMAKE_C_FLAGS=${CFLAGS}"
|
|
PKG_CONFIG_PATH=${OPENSSL_ROOT_DIR}/lib/pkgconfig
|
|
PKG_CONFIG_PATH=${OPENSSL_ROOT_DIR}/lib/pkgconfig
|
|
|
|
+ DYLD_LIBRARY_PATH=${OPENSSL_ROOT_DIR}/lib
|
|
|
|
|
|
echo "LDFLAGS=${LDFLAGS}" >> $GITHUB_ENV
|
|
echo "LDFLAGS=${LDFLAGS}" >> $GITHUB_ENV
|
|
echo "CFLAGS=${CFLAGS}" >> $GITHUB_ENV
|
|
echo "CFLAGS=${CFLAGS}" >> $GITHUB_ENV
|
|
echo "${OPENSSL_ROOT_DIR}/bin" >> $GITHUB_PATH
|
|
echo "${OPENSSL_ROOT_DIR}/bin" >> $GITHUB_PATH
|
|
echo "ADDITIONAL_CMAKE_ARGS=${ADDITIONAL_CMAKE_ARGS}" >> $GITHUB_ENV
|
|
echo "ADDITIONAL_CMAKE_ARGS=${ADDITIONAL_CMAKE_ARGS}" >> $GITHUB_ENV
|
|
echo "PKG_CONFIG_PATH=${PKG_CONFIG_PATH}" >> $GITHUB_ENV
|
|
echo "PKG_CONFIG_PATH=${PKG_CONFIG_PATH}" >> $GITHUB_ENV
|
|
-
|
|
|
|
- - name: Install OpenSSL 1.0 on modern Linux
|
|
|
|
- # Needed for recent versions of Linux as they ship with OpenSSL 3.0 by default
|
|
|
|
- if: startsWith(matrix.os,'ubuntu') && matrix.env.OPENSSL_1_0 == 'YES'
|
|
|
|
- run: |
|
|
|
|
- curl -O -L https://openssl.org/source/old/1.0.2/openssl-1.0.2u.tar.gz
|
|
|
|
- tar -xzf openssl-1.0.2u.tar.gz
|
|
|
|
- cd openssl-1.0.2u
|
|
|
|
- ./config --prefix=/usr/local/ssl1.0 --openssldir=/usr/local/ssl1.0 shared
|
|
|
|
- make depend
|
|
|
|
- make -j $(nproc)
|
|
|
|
- sudo make install_sw -j $(nproc)
|
|
|
|
- sudo ldconfig
|
|
|
|
|
|
+ echo "DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}" >> $GITHUB_ENV
|
|
|
|
|
|
- OPENSSL_ROOT_DIR=/usr/local/ssl1.0
|
|
|
|
|
|
+ - name: Install OpenSSL 3.0 on modern MacOS
|
|
|
|
+ # OpenSSL 1.1 is installed by default, so we need to install 3.0 manually
|
|
|
|
+ if: startsWith(matrix.os,'macos') && matrix.env.OPENSSL_3_0 == 'YES'
|
|
|
|
+ run: |
|
|
|
|
+ brew install openssl@3.0
|
|
|
|
+
|
|
|
|
+ OPENSSL_ROOT_DIR=$(brew --prefix openssl@3.0)
|
|
LDFLAGS=-L${OPENSSL_ROOT_DIR}/lib
|
|
LDFLAGS=-L${OPENSSL_ROOT_DIR}/lib
|
|
CFLAGS=-I${OPENSSL_ROOT_DIR}/include
|
|
CFLAGS=-I${OPENSSL_ROOT_DIR}/include
|
|
ADDITIONAL_CMAKE_ARGS="-DCMAKE_SHARED_LINKER_FLAGS=${LDFLAGS} -DMAKE_C_FLAGS=${CFLAGS}"
|
|
ADDITIONAL_CMAKE_ARGS="-DCMAKE_SHARED_LINKER_FLAGS=${LDFLAGS} -DMAKE_C_FLAGS=${CFLAGS}"
|
|
PKG_CONFIG_PATH=${OPENSSL_ROOT_DIR}/lib/pkgconfig
|
|
PKG_CONFIG_PATH=${OPENSSL_ROOT_DIR}/lib/pkgconfig
|
|
-
|
|
|
|
|
|
+ DYLD_LIBRARY_PATH=${OPENSSL_ROOT_DIR}/lib
|
|
|
|
+
|
|
echo "LDFLAGS=${LDFLAGS}" >> $GITHUB_ENV
|
|
echo "LDFLAGS=${LDFLAGS}" >> $GITHUB_ENV
|
|
echo "CFLAGS=${CFLAGS}" >> $GITHUB_ENV
|
|
echo "CFLAGS=${CFLAGS}" >> $GITHUB_ENV
|
|
echo "${OPENSSL_ROOT_DIR}/bin" >> $GITHUB_PATH
|
|
echo "${OPENSSL_ROOT_DIR}/bin" >> $GITHUB_PATH
|
|
echo "ADDITIONAL_CMAKE_ARGS=${ADDITIONAL_CMAKE_ARGS}" >> $GITHUB_ENV
|
|
echo "ADDITIONAL_CMAKE_ARGS=${ADDITIONAL_CMAKE_ARGS}" >> $GITHUB_ENV
|
|
echo "PKG_CONFIG_PATH=${PKG_CONFIG_PATH}" >> $GITHUB_ENV
|
|
echo "PKG_CONFIG_PATH=${PKG_CONFIG_PATH}" >> $GITHUB_ENV
|
|
- echo "LD_LIBRARY_PATH=${OPENSSL_ROOT_DIR}/lib" >> $GITHUB_ENV
|
|
|
|
-
|
|
|
|
|
|
+ echo "DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}" >> $GITHUB_ENV
|
|
|
|
+
|
|
- name: Install OpenSSL 1.1 on modern Linux
|
|
- name: Install OpenSSL 1.1 on modern Linux
|
|
# Needed for recent versions of Linux as they ship with OpenSSL 3.0 by default
|
|
# Needed for recent versions of Linux as they ship with OpenSSL 3.0 by default
|
|
if: startsWith(matrix.os,'ubuntu') && matrix.env.OPENSSL_1_1 == 'YES'
|
|
if: startsWith(matrix.os,'ubuntu') && matrix.env.OPENSSL_1_1 == 'YES'
|