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: matrix:
build: build:
- name: bearssl - name: bearssl
install_packages: libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev install_packages: zlib1g-dev
install_steps: bearssl install_steps: bearssl
configure: LDFLAGS="-Wl,-rpath,$HOME/bear/lib" --with-bearssl=$HOME/bear --enable-debug configure: LDFLAGS="-Wl,-rpath,$HOME/bear/lib" --with-bearssl=$HOME/bear --enable-debug
- name: bearssl-clang - name: bearssl-clang
install_packages: libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev clang install_packages: zlib1g-dev clang
install_steps: bearssl install_steps: bearssl
configure: CC=clang LDFLAGS="-Wl,-rpath,$HOME/bear/lib" --with-bearssl=$HOME/bear --enable-debug configure: CC=clang LDFLAGS="-Wl,-rpath,$HOME/bear/lib" --with-bearssl=$HOME/bear --enable-debug
- name: libressl - name: libressl
install_packages: libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev install_packages: zlib1g-dev
install_steps: libressl install_steps: libressl
configure: LDFLAGS="-Wl,-rpath,$HOME/libressl/lib" --with-openssl=$HOME/libressl --enable-debug configure: LDFLAGS="-Wl,-rpath,$HOME/libressl/lib" --with-openssl=$HOME/libressl --enable-debug
- name: libressl-clang - name: libressl-clang
install_packages: libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev clang install_packages: zlib1g-dev clang
install_steps: libressl install_steps: libressl
configure: CC=clang LDFLAGS="-Wl,-rpath,$HOME/libressl/lib" --with-openssl=$HOME/libressl --enable-debug configure: CC=clang LDFLAGS="-Wl,-rpath,$HOME/libressl/lib" --with-openssl=$HOME/libressl --enable-debug
- name: mbedtls - name: mbedtls
install_packages: libpsl-dev libbrotli-dev libzstd-dev libnghttp2-dev install_packages: libnghttp2-dev
install_steps: mbedtls install_steps: mbedtls
configure: LDFLAGS="-Wl,-rpath,$HOME/mbed/lib" --with-mbedtls=$HOME/mbed --enable-debug configure: LDFLAGS="-Wl,-rpath,$HOME/mbed/lib" --with-mbedtls=$HOME/mbed --enable-debug
- name: mbedtls-clang - name: mbedtls-clang
install_packages: libpsl-dev libbrotli-dev libzstd-dev libnghttp2-dev clang install_packages: libnghttp2-dev clang
install_steps: mbedtls install_steps: mbedtls
configure: CC=clang LDFLAGS="-Wl,-rpath,$HOME/mbed/lib" --with-mbedtls=$HOME/mbed --enable-debug configure: CC=clang LDFLAGS="-Wl,-rpath,$HOME/mbed/lib" --with-mbedtls=$HOME/mbed --enable-debug
- name: msh3 - name: msh3
install_packages: libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev install_packages: zlib1g-dev
install_steps: quictls msh3 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 configure: LDFLAGS="-Wl,-rpath,$HOME/msh3/lib -Wl,-rpath,$HOME/quictls/lib" --with-msh3=$HOME/msh3 --with-openssl=$HOME/quictls --enable-debug
- name: openssl3 - name: openssl3
install_packages: libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev install_packages: zlib1g-dev
install_steps: gcc-11 openssl3 install_steps: gcc-11 openssl3
configure: LDFLAGS="-Wl,-rpath,$HOME/openssl3/lib64" --with-openssl=$HOME/openssl3 --enable-debug --enable-websockets configure: LDFLAGS="-Wl,-rpath,$HOME/openssl3/lib64" --with-openssl=$HOME/openssl3 --enable-debug --enable-websockets
- name: openssl3-O3 - name: openssl3-O3
install_packages: libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev install_packages: zlib1g-dev
install_steps: gcc-11 openssl3 install_steps: gcc-11 openssl3
configure: CFLAGS=-O3 LDFLAGS="-Wl,-rpath,$HOME/openssl3/lib64" --with-openssl=$HOME/openssl3 --enable-debug --enable-websockets configure: CFLAGS=-O3 LDFLAGS="-Wl,-rpath,$HOME/openssl3/lib64" --with-openssl=$HOME/openssl3 --enable-debug --enable-websockets
- name: openssl3-clang - name: openssl3-clang
install_packages: libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev clang install_packages: zlib1g-dev clang
install_steps: openssl3 install_steps: openssl3
configure: CC=clang LDFLAGS="-Wl,-rpath,$HOME/openssl3/lib64" --with-openssl=$HOME/openssl3 --enable-debug --enable-websockets configure: CC=clang LDFLAGS="-Wl,-rpath,$HOME/openssl3/lib64" --with-openssl=$HOME/openssl3 --enable-debug --enable-websockets
- name: event-based - 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 configure: --enable-debug --disable-shared --disable-threaded-resolver --with-libssh --with-openssl
tflags: -n -e '!TLS-SRP' 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 configure: LDFLAGS="-Wl,-rpath,$HOME/hyper/target/debug" --with-openssl --with-hyper=$HOME/hyper --enable-debug --enable-websockets
- name: rustls - name: rustls
install_packages: libpsl-dev libbrotli-dev libzstd-dev
install_steps: rust rustls install_steps: rust rustls
configure: --with-rustls=$HOME/rustls --enable-debug configure: --with-rustls=$HOME/rustls --enable-debug
- name: Intel compiler - without SSL - name: Intel compiler - without SSL
install_packages: libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev install_packages: zlib1g-dev
install_steps: intel install_steps: intel
configure: CC=icc --enable-debug --without-ssl configure: CC=icc --enable-debug --without-ssl
- name: Intel compiler - OpenSSL - 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 install_steps: intel
configure: CC=icc --enable-debug --with-openssl configure: CC=icc --enable-debug --with-openssl
- name: NSS - 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 configure: CC=clang CPPFLAGS="-isystem /usr/include/nss" --with-nss --enable-debug --with-nss-deprecated
steps: steps:
- run: | - run: |
sudo apt-get update 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 sudo python3 -m pip install impacket
name: 'install prereqs and impacket' name: 'install prereqs and impacket'