diff options
author | Sandro-Alessio Gierens <sandro@gierens.de> | 2023-08-15 16:01:34 +0200 |
---|---|---|
committer | Sandro-Alessio Gierens <49617392+gierens@users.noreply.github.com> | 2023-08-15 16:50:05 +0200 |
commit | da8fbe8b43192fc509a89dd29159ad67a219b209 (patch) | |
tree | f0985f2ca90027bed68c74b2451d6d2aab2c9c8b | |
parent | b450644723af214f4e5ac19287bc495a42e8ee5f (diff) | |
download | libvfio-user-da8fbe8b43192fc509a89dd29159ad67a219b209.zip libvfio-user-da8fbe8b43192fc509a89dd29159ad67a219b209.tar.gz libvfio-user-da8fbe8b43192fc509a89dd29159ad67a219b209.tar.bz2 |
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 <sandro@gierens.de>
-rw-r--r-- | .github/workflows/pull_request.yml | 41 |
1 files changed, 41 insertions, 0 deletions
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 |