mirror of
https://github.com/Icinga/icinga2.git
synced 2025-05-03 14:10:25 +02:00
GHA: drop EOL EL7
This commit is contained in:
parent
c5c7925d8a
commit
ba52e2ed51
12
.github/workflows/linux.bash
vendored
12
.github/workflows/linux.bash
vendored
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -exo pipefail
|
set -exo pipefail
|
||||||
|
|
||||||
export PATH="/usr/lib/ccache:/usr/lib64/ccache:/opt/rh/devtoolset-11/root/usr/bin:$PATH"
|
export PATH="/usr/lib/ccache:/usr/lib64/ccache:$PATH"
|
||||||
export CCACHE_DIR=/icinga2/ccache
|
export CCACHE_DIR=/icinga2/ccache
|
||||||
export CTEST_OUTPUT_ON_FAILURE=1
|
export CTEST_OUTPUT_ON_FAILURE=1
|
||||||
CMAKE_OPTS=''
|
CMAKE_OPTS=''
|
||||||
@ -33,16 +33,6 @@ case "$DISTRO" in
|
|||||||
{boost,libedit,mariadb1\*,ncurses,openssl,postgresql,systemd}-devel
|
{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 \
|
|
||||||
{boost169,libedit,mariadb,ncurses,openssl,postgresql,systemd}-devel
|
|
||||||
|
|
||||||
ln -vs /usr/bin/cmake3 /usr/local/bin/cmake
|
|
||||||
ln -vs /usr/bin/ccache /usr/lib64/ccache/g++
|
|
||||||
CMAKE_OPTS='-DBOOST_INCLUDEDIR=/usr/include/boost169 -DBOOST_LIBRARYDIR=/usr/lib64/boost169'
|
|
||||||
;;
|
|
||||||
|
|
||||||
debian:*|ubuntu:*)
|
debian:*|ubuntu:*)
|
||||||
apt-get update
|
apt-get update
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-{recommends,suggests} -y bison \
|
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-{recommends,suggests} -y bison \
|
||||||
|
1
.github/workflows/linux.yml
vendored
1
.github/workflows/linux.yml
vendored
@ -23,7 +23,6 @@ jobs:
|
|||||||
distro:
|
distro:
|
||||||
- amazonlinux:2
|
- amazonlinux:2
|
||||||
- amazonlinux:2023
|
- amazonlinux:2023
|
||||||
- centos:7 # and RHEL 7
|
|
||||||
- debian:11 # and Raspbian 11
|
- debian:11 # and Raspbian 11
|
||||||
- debian:12 # and Raspbian 12
|
- debian:12 # and Raspbian 12
|
||||||
- fedora:37
|
- fedora:37
|
||||||
|
Loading…
x
Reference in New Issue
Block a user