mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
GHA: add Amazon Linux 2023
which unfortunately seems not to have ccache. 🤷
This commit is contained in:
parent
8b9060d77d
commit
51d0e9b5a9
9
.github/workflows/linux.bash
vendored
9
.github/workflows/linux.bash
vendored
@ -7,7 +7,7 @@ export CTEST_OUTPUT_ON_FAILURE=1
|
||||
CMAKE_OPTS=''
|
||||
|
||||
case "$DISTRO" in
|
||||
amazonlinux:*)
|
||||
amazonlinux:2)
|
||||
amazon-linux-extras install -y epel
|
||||
yum install -y bison ccache cmake3 gcc-c++ flex ninja-build \
|
||||
{libedit,mariadb,ncurses,openssl,postgresql,systemd}-devel
|
||||
@ -28,6 +28,11 @@ case "$DISTRO" in
|
||||
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:*)
|
||||
yum install -y centos-release-scl epel-release
|
||||
yum install -y bison ccache cmake3 devtoolset-11-gcc-c++ flex ninja-build \
|
||||
@ -83,9 +88,7 @@ cmake \
|
||||
-DICINGA2_GROUP=$(id -gn) \
|
||||
$CMAKE_OPTS ..
|
||||
|
||||
ccache -z
|
||||
ninja
|
||||
ccache -s
|
||||
|
||||
ninja test
|
||||
ninja install
|
||||
|
1
.github/workflows/linux.yml
vendored
1
.github/workflows/linux.yml
vendored
@ -22,6 +22,7 @@ jobs:
|
||||
matrix:
|
||||
distro:
|
||||
- amazonlinux:2
|
||||
- amazonlinux:2023
|
||||
- centos:7 # and RHEL 7
|
||||
- debian:10
|
||||
- debian:11 # and Raspbian 11
|
||||
|
Loading…
x
Reference in New Issue
Block a user