env:
LIBPLIST_VERSION: 2.2.0
- OPENSSL_VERSION: 3.0.1
+ OPENSSL_VERSION: 1.1.1n
SCCACHE_VERSION: 0.2.15
jobs:
strategy:
matrix:
triple:
- - arm-linux-musleabi
- aarch64-linux-musl
- - i486-linux-musl
- - riscv64-linux-musl
- x86_64-linux-musl
env:
TOOLCHAIN: ${{ matrix.triple }}-cross
- name: build openssl
run: |
export PLATFORM="linux-${ARCH}"
- case ${ARCH} in
- arm)
- export PLATFORM="linux-generic32"
- ;;
- i486)
- export PLATFORM="linux-x86"
- ;;
- riscv64)
- export PLATFORM="linux64-riscv64"
- ;;
- esac
wget -q -nc -P ${DOWNLOAD_PATH} https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz
tar xf ${DOWNLOAD_PATH}/openssl-${OPENSSL_VERSION}.tar.gz -C ${DEP_PATH}
cd ${DEP_PATH}/openssl-${OPENSSL_VERSION}
- ./config --prefix=/usr --static -static ${PLATFORM}
+ ./Configure --prefix=/usr --static -static ${PLATFORM}
make -j$(nproc) build_generated libcrypto.a
echo "CPPFLAGS=${CPPFLAGS} -I${DEP_PATH}/openssl-${OPENSSL_VERSION}/include" >> $GITHUB_ENV
wget -q -nc -P ${DOWNLOAD_PATH} https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz
tar xf ${DOWNLOAD_PATH}/openssl-${OPENSSL_VERSION}.tar.gz -C ${DEP_PATH}
cd ${DEP_PATH}/openssl-${OPENSSL_VERSION}
- ./config --prefix=/usr no-shared darwin64-${ARCH}
+ ./Configure --prefix=/usr no-shared darwin64-${ARCH}-cc
make -j$(sysctl -n hw.ncpu) build_generated libcrypto.a
echo "CFLAGS=${CFLAGS} -I${DEP_PATH}/openssl-${OPENSSL_VERSION}/include" >> $GITHUB_ENV