diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 11:32:39 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 11:32:39 +0000 |
commit | 56ae875861ab260b80a030f50c4aff9f9dc8fff0 (patch) | |
tree | 531412110fc901a5918c7f7442202804a83cada9 /.github/workflows/linux.yml | |
parent | Initial commit. (diff) | |
download | icinga2-upstream/2.14.2.tar.xz icinga2-upstream/2.14.2.zip |
Adding upstream version 2.14.2.upstream/2.14.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/linux.yml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml new file mode 100644 index 0000000..6c3c5dd --- /dev/null +++ b/.github/workflows/linux.yml @@ -0,0 +1,56 @@ +name: Linux + +on: + push: + branches: + - master + - 'support/*' + pull_request: {} + +concurrency: + group: linux-${{ github.event_name == 'push' && github.sha || github.ref }} + cancel-in-progress: true + +jobs: + linux: + name: ${{ matrix.distro }} + runs-on: ubuntu-latest + + strategy: + fail-fast: false + max-parallel: 2 + matrix: + distro: + - amazonlinux:2 + - amazonlinux:2023 + - centos:7 # and RHEL 7 + - debian:10 + - debian:11 # and Raspbian 11 + - debian:12 # and Raspbian 12 + - fedora:37 + - fedora:38 + - fedora:39 + - opensuse/leap:15.3 # SLES 15.3 + - opensuse/leap:15.4 # and SLES 15.4 + - opensuse/leap:15.5 # and SLES 15.5 + - rockylinux:8 # RHEL 8 + - rockylinux:9 # RHEL 9 + - ubuntu:20.04 + - ubuntu:22.04 + - ubuntu:23.04 + - ubuntu:23.10 + + steps: + - name: Checkout HEAD + uses: actions/checkout@v3 + + - name: Restore/backup ccache + uses: actions/cache@v3 + with: + path: ccache + key: ccache/${{ matrix.distro }} + + - name: Build + run: >- + docker run --rm -v "$(pwd):/icinga2" -e DISTRO=${{ matrix.distro }} + ${{ matrix.distro }} /icinga2/.github/workflows/linux.bash |