From 27cd8852e80dadda8b3083b4e6520ac80b35096e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferm=C3=ADn=20Olaiz?= Date: Mon, 9 Dec 2024 18:16:32 -0300 Subject: [PATCH] Add various distros --- .github/workflows/multi-distro-build.yml | 56 ++++++++++++++++++++++-- 1 file changed, 52 insertions(+), 4 deletions(-) diff --git a/.github/workflows/multi-distro-build.yml b/.github/workflows/multi-distro-build.yml index a45973b3..5b76f353 100644 --- a/.github/workflows/multi-distro-build.yml +++ b/.github/workflows/multi-distro-build.yml @@ -10,24 +10,72 @@ on: jobs: multi-distro-build: runs-on: ubuntu-latest + if: always() strategy: matrix: build: + ############# + # ArchLinux # + ############# - { tag: "archlinux:latest", installcmd: "pacman -Sy --noconfirm", pkgs: "base-devel git json-glib scons", } - #- "ubuntu:20.04" + ########## + # Debian # + ########## + - { + tag: "debian:bullseye", + env: "DEBIAN_FRONTEND=noninteractive", + installcmd: "apt update && apt install -y --no-install-recommends", + pkgs: "clang gettext libblkid-dev libelf-dev libffi-dev libglib2.0-dev libjson-glib-dev python3-cffi python3-dev python3-pip python3-setuptools python3-sphinx scons", + } + - { + tag: "debian:bookworm", + env: "DEBIAN_FRONTEND=noninteractive", + installcmd: "apt update && apt install -y --no-install-recommends", + pkgs: "clang gettext libblkid-dev libelf-dev libffi-dev libglib2.0-dev libjson-glib-dev python3-cffi python3-dev python3-pip python3-setuptools python3-sphinx scons", + } + - { + tag: "debian:trixie", + env: "DEBIAN_FRONTEND=noninteractive", + installcmd: "apt update && apt install -y --no-install-recommends", + pkgs: "clang gettext libblkid-dev libelf-dev libffi-dev libglib2.0-dev libjson-glib-dev python3-cffi python3-dev python3-pip python3-setuptools python3-sphinx scons", + } + ########## + # Ubuntu # + ########## + - { + tag: "ubuntu:20.04", + env: "DEBIAN_FRONTEND=noninteractive", + installcmd: "apt update && apt install -y --no-install-recommends", + pkgs: "clang gettext libblkid-dev libelf-dev libffi-dev libglib2.0-dev libjson-glib-dev python3-cffi python3-dev python3-pip python3-setuptools python3-sphinx scons", + } - { tag: "ubuntu:22.04", env: "DEBIAN_FRONTEND=noninteractive", installcmd: "apt update && apt install -y --no-install-recommends", pkgs: "clang gettext libblkid-dev libelf-dev libffi-dev libglib2.0-dev libjson-glib-dev python3-cffi python3-dev python3-pip python3-setuptools python3-sphinx scons", } - #- "ubuntu:24.04" - #- "ubuntu:rolling" - #- "ubuntu:devel" + - { + tag: "ubuntu:24.04", + env: "DEBIAN_FRONTEND=noninteractive", + installcmd: "apt update && apt install -y --no-install-recommends", + pkgs: "clang gettext libblkid-dev libelf-dev libffi-dev libglib2.0-dev libjson-glib-dev python3-cffi python3-dev python3-pip python3-setuptools python3-sphinx scons", + } + - { + tag: "ubuntu:rolling", + env: "DEBIAN_FRONTEND=noninteractive", + installcmd: "apt update && apt install -y --no-install-recommends", + pkgs: "clang gettext libblkid-dev libelf-dev libffi-dev libglib2.0-dev libjson-glib-dev python3-cffi python3-dev python3-pip python3-setuptools python3-sphinx scons", + } + - { + tag: "ubuntu:devel", + env: "DEBIAN_FRONTEND=noninteractive", + installcmd: "apt update && apt install -y --no-install-recommends", + pkgs: "clang gettext libblkid-dev libelf-dev libffi-dev libglib2.0-dev libjson-glib-dev python3-cffi python3-dev python3-pip python3-setuptools python3-sphinx scons", + } steps: - uses: actions/checkout@v4 - name: "Build on ${{ matrix.build.tag }}"