mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 23:24:09 +02:00
Merge pull request #9743 from Icinga/Al2Klimov-patch-5
GHA: Linux: add Fedora 38, Ubuntu 23.04, Debian 12, openSUSE 15.5
This commit is contained in:
commit
681f9eed62
9
.github/workflows/linux.bash
vendored
9
.github/workflows/linux.bash
vendored
@ -7,7 +7,7 @@ export CTEST_OUTPUT_ON_FAILURE=1
|
|||||||
CMAKE_OPTS=''
|
CMAKE_OPTS=''
|
||||||
|
|
||||||
case "$DISTRO" in
|
case "$DISTRO" in
|
||||||
amazonlinux:*)
|
amazonlinux:2)
|
||||||
amazon-linux-extras install -y epel
|
amazon-linux-extras install -y epel
|
||||||
yum install -y bison ccache cmake3 gcc-c++ flex ninja-build \
|
yum install -y bison ccache cmake3 gcc-c++ flex ninja-build \
|
||||||
{libedit,mariadb,ncurses,openssl,postgresql,systemd}-devel
|
{libedit,mariadb,ncurses,openssl,postgresql,systemd}-devel
|
||||||
@ -28,6 +28,11 @@ case "$DISTRO" in
|
|||||||
export LD_LIBRARY_PATH=/boost_1_69_0/stage/lib
|
export LD_LIBRARY_PATH=/boost_1_69_0/stage/lib
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
amazonlinux:20*)
|
||||||
|
dnf install -y bison cmake flex gcc-c++ ninja-build \
|
||||||
|
{boost,libedit,mariadb1\*,ncurses,openssl,postgresql,systemd}-devel
|
||||||
|
;;
|
||||||
|
|
||||||
centos:*)
|
centos:*)
|
||||||
yum install -y centos-release-scl epel-release
|
yum install -y centos-release-scl epel-release
|
||||||
yum install -y bison ccache cmake3 devtoolset-11-gcc-c++ flex ninja-build \
|
yum install -y bison ccache cmake3 devtoolset-11-gcc-c++ flex ninja-build \
|
||||||
@ -83,9 +88,7 @@ cmake \
|
|||||||
-DICINGA2_GROUP=$(id -gn) \
|
-DICINGA2_GROUP=$(id -gn) \
|
||||||
$CMAKE_OPTS ..
|
$CMAKE_OPTS ..
|
||||||
|
|
||||||
ccache -z
|
|
||||||
ninja
|
ninja
|
||||||
ccache -s
|
|
||||||
|
|
||||||
ninja test
|
ninja test
|
||||||
ninja install
|
ninja install
|
||||||
|
5
.github/workflows/linux.yml
vendored
5
.github/workflows/linux.yml
vendored
@ -22,18 +22,23 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
distro:
|
distro:
|
||||||
- amazonlinux:2
|
- amazonlinux:2
|
||||||
|
- amazonlinux:2023
|
||||||
- centos:7 # and RHEL 7
|
- centos:7 # and RHEL 7
|
||||||
- debian:10
|
- debian:10
|
||||||
- debian:11 # and Raspbian 11
|
- debian:11 # and Raspbian 11
|
||||||
|
- debian:12 # and Raspbian 12
|
||||||
- fedora:36
|
- fedora:36
|
||||||
- fedora:37
|
- fedora:37
|
||||||
|
- fedora:38
|
||||||
- opensuse/leap:15.3 # SLES 15.3
|
- opensuse/leap:15.3 # SLES 15.3
|
||||||
- opensuse/leap:15.4 # and SLES 15.4
|
- opensuse/leap:15.4 # and SLES 15.4
|
||||||
|
- opensuse/leap:15.5 # and SLES 15.5
|
||||||
- rockylinux:8 # RHEL 8
|
- rockylinux:8 # RHEL 8
|
||||||
- rockylinux:9 # RHEL 9
|
- rockylinux:9 # RHEL 9
|
||||||
- ubuntu:20.04
|
- ubuntu:20.04
|
||||||
- ubuntu:22.04
|
- ubuntu:22.04
|
||||||
- ubuntu:22.10
|
- ubuntu:22.10
|
||||||
|
- ubuntu:23.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout HEAD
|
- name: Checkout HEAD
|
||||||
|
Loading…
x
Reference in New Issue
Block a user