mirror of
https://github.com/curl/curl.git
synced 2026-08-05 04:36:14 +03:00
install test deps only for jobs running tests
This commit is contained in:
parent
8e78ed5f40
commit
88ff6db9c1
1 changed files with 6 additions and 1 deletions
7
.github/workflows/http3-linux.yml
vendored
7
.github/workflows/http3-linux.yml
vendored
|
|
@ -524,6 +524,11 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: 'install prereqs'
|
||||
env:
|
||||
INSTALL_PACKAGES: >-
|
||||
${{ !contains(matrix.build.install_steps, 'skipall') && !contains(matrix.build.install_steps, 'skiprun') && 'stunnel4 ' || '' }}
|
||||
${{ !contains(matrix.build.install_steps, 'skipall') && !contains(matrix.build.install_steps, 'skiprun') && 'apache2 apache2-dev vsftpd dante-server' || '' }}
|
||||
|
||||
run: |
|
||||
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
|
||||
sudo apt-get -o Dpkg::Use-Pty=0 update
|
||||
|
|
@ -531,7 +536,7 @@ jobs:
|
|||
sudo apt-get -o Dpkg::Use-Pty=0 install \
|
||||
libtool autoconf automake pkgconf stunnel4 \
|
||||
libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev libidn2-0-dev libnghttp2-dev libuv1-dev \
|
||||
apache2 apache2-dev vsftpd dante-server
|
||||
${INSTALL_PACKAGES}
|
||||
python3 -m venv ~/venv
|
||||
echo 'CC=gcc-12' >> "$GITHUB_ENV"
|
||||
echo 'CXX=g++-12' >> "$GITHUB_ENV"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue