GHA/linux: merge two package install steps
Merge pytest prereq package install step into the main package install step, to save install time. Closes #16509
This commit is contained in:
parent
8ded8e5f3f
commit
af6172c8f2
8
.github/workflows/linux.yml
vendored
8
.github/workflows/linux.yml
vendored
@ -304,7 +304,8 @@ jobs:
|
|||||||
libtool autoconf automake pkgconf ninja-build \
|
libtool autoconf automake pkgconf ninja-build \
|
||||||
${{ matrix.build.install_steps != 'skipall' && matrix.build.install_steps != 'skiprun' && 'stunnel4' || '' }} \
|
${{ matrix.build.install_steps != 'skipall' && matrix.build.install_steps != 'skiprun' && 'stunnel4' || '' }} \
|
||||||
libpsl-dev libbrotli-dev libzstd-dev \
|
libpsl-dev libbrotli-dev libzstd-dev \
|
||||||
${{ matrix.build.install_packages }}
|
${{ matrix.build.install_packages }} \
|
||||||
|
${{ contains(matrix.build.install_steps, 'pytest') && 'apache2 apache2-dev libnghttp2-dev vsftpd' || '' }}
|
||||||
python3 -m venv $HOME/venv
|
python3 -m venv $HOME/venv
|
||||||
|
|
||||||
- name: 'install prereqs'
|
- name: 'install prereqs'
|
||||||
@ -319,11 +320,6 @@ jobs:
|
|||||||
${{ matrix.build.install_packages }}
|
${{ matrix.build.install_packages }}
|
||||||
python3 -m venv $HOME/venv
|
python3 -m venv $HOME/venv
|
||||||
|
|
||||||
- name: 'install prereqs for pytest'
|
|
||||||
if: contains(matrix.build.install_steps, 'pytest')
|
|
||||||
run: |
|
|
||||||
sudo apt-get -o Dpkg::Use-Pty=0 install apache2 apache2-dev libnghttp2-dev vsftpd
|
|
||||||
|
|
||||||
- name: 'install dependencies'
|
- name: 'install dependencies'
|
||||||
if: startsWith(matrix.build.container, 'alpine')
|
if: startsWith(matrix.build.container, 'alpine')
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user