workflows/linux.yml: merge 3 common packages

Closes #10071
This commit is contained in:
andy5995 2022-12-09 14:53:47 -06:00 committed by Daniel Stenberg
parent ee583c68d4
commit 3736c0a209
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -29,57 +29,57 @@ jobs:
matrix:
build:
- name: bearssl
install_packages: libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev
install_packages: zlib1g-dev
install_steps: bearssl
configure: LDFLAGS="-Wl,-rpath,$HOME/bear/lib" --with-bearssl=$HOME/bear --enable-debug
- name: bearssl-clang
install_packages: libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev clang
install_packages: zlib1g-dev clang
install_steps: bearssl
configure: CC=clang LDFLAGS="-Wl,-rpath,$HOME/bear/lib" --with-bearssl=$HOME/bear --enable-debug
- name: libressl
install_packages: libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev
install_packages: zlib1g-dev
install_steps: libressl
configure: LDFLAGS="-Wl,-rpath,$HOME/libressl/lib" --with-openssl=$HOME/libressl --enable-debug
- name: libressl-clang
install_packages: libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev clang
install_packages: zlib1g-dev clang
install_steps: libressl
configure: CC=clang LDFLAGS="-Wl,-rpath,$HOME/libressl/lib" --with-openssl=$HOME/libressl --enable-debug
- name: mbedtls
install_packages: libpsl-dev libbrotli-dev libzstd-dev libnghttp2-dev
install_packages: libnghttp2-dev
install_steps: mbedtls
configure: LDFLAGS="-Wl,-rpath,$HOME/mbed/lib" --with-mbedtls=$HOME/mbed --enable-debug
- name: mbedtls-clang
install_packages: libpsl-dev libbrotli-dev libzstd-dev libnghttp2-dev clang
install_packages: libnghttp2-dev clang
install_steps: mbedtls
configure: CC=clang LDFLAGS="-Wl,-rpath,$HOME/mbed/lib" --with-mbedtls=$HOME/mbed --enable-debug
- name: msh3
install_packages: libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev
install_packages: zlib1g-dev
install_steps: quictls msh3
configure: LDFLAGS="-Wl,-rpath,$HOME/msh3/lib -Wl,-rpath,$HOME/quictls/lib" --with-msh3=$HOME/msh3 --with-openssl=$HOME/quictls --enable-debug
- name: openssl3
install_packages: libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev
install_packages: zlib1g-dev
install_steps: gcc-11 openssl3
configure: LDFLAGS="-Wl,-rpath,$HOME/openssl3/lib64" --with-openssl=$HOME/openssl3 --enable-debug --enable-websockets
- name: openssl3-O3
install_packages: libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev
install_packages: zlib1g-dev
install_steps: gcc-11 openssl3
configure: CFLAGS=-O3 LDFLAGS="-Wl,-rpath,$HOME/openssl3/lib64" --with-openssl=$HOME/openssl3 --enable-debug --enable-websockets
- name: openssl3-clang
install_packages: libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev clang
install_packages: zlib1g-dev clang
install_steps: openssl3
configure: CC=clang LDFLAGS="-Wl,-rpath,$HOME/openssl3/lib64" --with-openssl=$HOME/openssl3 --enable-debug --enable-websockets
- name: event-based
install_packages: libpsl-dev libbrotli-dev libzstd-dev libssh-dev
install_packages: libssh-dev
configure: --enable-debug --disable-shared --disable-threaded-resolver --with-libssh --with-openssl
tflags: -n -e '!TLS-SRP'
@ -88,28 +88,27 @@ jobs:
configure: LDFLAGS="-Wl,-rpath,$HOME/hyper/target/debug" --with-openssl --with-hyper=$HOME/hyper --enable-debug --enable-websockets
- name: rustls
install_packages: libpsl-dev libbrotli-dev libzstd-dev
install_steps: rust rustls
configure: --with-rustls=$HOME/rustls --enable-debug
- name: Intel compiler - without SSL
install_packages: libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev
install_packages: zlib1g-dev
install_steps: intel
configure: CC=icc --enable-debug --without-ssl
- name: Intel compiler - OpenSSL
install_packages: libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev libssl-dev
install_packages: zlib1g-dev libssl-dev
install_steps: intel
configure: CC=icc --enable-debug --with-openssl
- name: NSS
install_packages: clang libnss3-dev libpsl-dev libbrotli-dev libzstd-dev libnghttp2-dev nss-plugin-pem
install_packages: clang libnss3-dev libnghttp2-dev nss-plugin-pem
configure: CC=clang CPPFLAGS="-isystem /usr/include/nss" --with-nss --enable-debug --with-nss-deprecated
steps:
- run: |
sudo apt-get update
sudo apt-get install libtool autoconf automake pkg-config stunnel4 ${{ matrix.build.install_packages }}
sudo apt-get install libtool autoconf automake pkg-config stunnel4 libpsl-dev libbrotli-dev libzstd-dev ${{ matrix.build.install_packages }}
sudo python3 -m pip install impacket
name: 'install prereqs and impacket'