Fix broken downtime comment sync #1679
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: 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 | |
# Raspberry Pi OS is close enough to Debian to test just one of them. | |
# Its architecture is different, though, and covered by the Docker job. | |
- debian:11 | |
- debian:12 | |
- fedora:39 | |
- fedora:40 | |
- fedora:41 | |
# openSUSE Leap is close enough to SLES to test just one of them. | |
# As openSUSE is much easier to deploy, we test it despite the fact that we don't necessarily | |
# support individual versions of openSUSE as long as their SLES counterparts. | |
# I.e., remove any opensuse/leap:* line below only if we stopped packaging both openSUSE and SLES! | |
- opensuse/leap:15.3 | |
- opensuse/leap:15.4 | |
- opensuse/leap:15.5 | |
- opensuse/leap:15.6 | |
# We don't actually support Rocky Linux as such! | |
# We just use that RHEL clone to test the original. | |
- rockylinux:8 | |
- rockylinux:9 | |
- ubuntu:20.04 | |
- ubuntu:22.04 | |
- ubuntu:24.04 | |
- ubuntu:24.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 |