2023-01-31 10:21:22 +01:00
|
|
|
name: Linux
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- 'support/*'
|
|
|
|
pull_request: {}
|
|
|
|
|
|
|
|
concurrency:
|
2023-11-17 15:54:03 +01:00
|
|
|
group: linux-${{ github.event_name == 'push' && github.sha || github.ref }}
|
2023-01-31 10:21:22 +01:00
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
linux:
|
|
|
|
name: ${{ matrix.distro }}
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
max-parallel: 2
|
|
|
|
matrix:
|
|
|
|
distro:
|
|
|
|
- amazonlinux:2
|
2023-07-06 14:21:03 +02:00
|
|
|
- amazonlinux:2023
|
2023-01-31 10:21:22 +01:00
|
|
|
- centos:7 # and RHEL 7
|
|
|
|
- debian:10
|
|
|
|
- debian:11 # and Raspbian 11
|
2023-07-04 14:49:32 +02:00
|
|
|
- debian:12 # and Raspbian 12
|
2023-01-31 10:21:22 +01:00
|
|
|
- fedora:37
|
2023-04-12 12:12:11 +02:00
|
|
|
- fedora:38
|
2023-10-04 16:35:26 +02:00
|
|
|
- fedora:39
|
2023-04-18 15:35:46 +02:00
|
|
|
- opensuse/leap:15.3 # SLES 15.3
|
2023-01-31 10:21:22 +01:00
|
|
|
- opensuse/leap:15.4 # and SLES 15.4
|
2023-07-04 11:33:42 +02:00
|
|
|
- opensuse/leap:15.5 # and SLES 15.5
|
2023-01-31 10:21:22 +01:00
|
|
|
- rockylinux:8 # RHEL 8
|
|
|
|
- rockylinux:9 # RHEL 9
|
|
|
|
- ubuntu:20.04
|
|
|
|
- ubuntu:22.04
|
2023-04-12 12:12:11 +02:00
|
|
|
- ubuntu:23.04
|
2023-10-06 10:34:36 +02:00
|
|
|
- ubuntu:23.10
|
2023-01-31 10:21:22 +01:00
|
|
|
|
|
|
|
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
|