Add installation of apache2-utils also for gensslcert for jeos #586
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
# yamllint disable-line rule:truthy | |
on: [push, pull_request] | |
jobs: | |
static: | |
runs-on: ubuntu-latest | |
name: "CI: Running ${{ matrix.test }} tests with perl v${{ matrix.perl-version }}" | |
strategy: | |
matrix: | |
include: | |
- test: static | |
perl-version: 5.32 | |
- test: unit | |
perl-version: 5.32 | |
- test: compile | |
perl-version: 5.26 | |
container: | |
image: perldocker/perl-tester:${{ matrix.perl-version }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
apt-get -y update | |
apt-get -y install libdbus-1-dev libssh2-1-dev parallel python3-dev python3-yaml python3-jsonschema python3-pip | |
pip3 install yamllint | |
- name: Setup perl | |
env: | |
INLINE_PYTHON_EXECUTABLE: /usr/bin/python3 | |
run: | | |
# Prefix with space to bypass ./tools/update_spec | |
echo " requires 'Code::DRY';" >> cpanfile | |
echo " requires 'Date::Parse';" >> cpanfile | |
echo " requires 'Regexp::Common';" >> cpanfile | |
echo " requires 'Perl::Tidy', '== 20230912';" >> cpanfile | |
make prepare | |
- name: Run ${{ matrix.test }} tests | |
env: | |
TESTS: ${{ matrix.test }} | |
run: | | |
# Work around https://github.com/actions/checkout/issues/766 | |
git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
git fetch origin master | |
make test |