From da8fbe8b43192fc509a89dd29159ad67a219b209 Mon Sep 17 00:00:00 2001 From: Sandro-Alessio Gierens Date: Tue, 15 Aug 2023 16:01:34 +0200 Subject: Add debian 11, 12 and arch linux jobs to pull_request workflow This adds jobs to `.github/workflows/pull_request.yml` for Debian 11 bullseye, Debian 12 bookworm and Arch Linux base 20230723.0.166908. Signed-off-by: Sandro-Alessio Gierens --- .github/workflows/pull_request.yml | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index d8323e3..87273b5 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -51,6 +51,47 @@ jobs: diffutils valgrind python3-pytest python3-flake8 which \ meson ninja-build ./.github/workflows/pull_request.sh + debian-11: + timeout-minutes: 10 + runs-on: ubuntu-20.04 + container: debian:11 + steps: + - uses: actions/checkout@v3 + - name: pre-push + run: | + apt-get update + apt-get -y install build-essential cmake pkg-config libjson-c-dev \ + libcmocka-dev clang clang-tools valgrind python3-pytest \ + debianutils flake8 meson ninja-build + ./.github/workflows/pull_request.sh + debian-12: + timeout-minutes: 10 + runs-on: ubuntu-22.04 + container: debian:12 + steps: + - uses: actions/checkout@v3 + - name: pre-push + run: | + apt-get update + apt-get -y install build-essential cmake pkg-config libjson-c-dev \ + libcmocka-dev clang clang-tools valgrind python3-pytest \ + debianutils flake8 meson ninja-build + ./.github/workflows/pull_request.sh + arch-202307: + timeout-minutes: 10 + runs-on: ubuntu-latest + container: archlinux:base-20230723.0.166908 + steps: + - uses: actions/checkout@v3 + - name: pre-push + run: | + # clang expects a newer glibc + pacman -Sy --noconfirm \ + base-devel glibc clang json-c cmocka pciutils diffutils valgrind \ + python-pytest flake8 meson ninja + # this fixes debuginfod not automatically updating the url + export DEBUGINFOD_URLS="https://debuginfod.archlinux.org" + ./.github/workflows/pull_request.sh spelling: runs-on: ubuntu-latest container: vlajos/misspell-fixer -- cgit v1.1