mirror of
https://github.com/Icinga/icinga2.git
synced 2025-09-25 10:48:20 +02:00
commit
bf24477638
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 \
|
||||||
|
2
.github/workflows/linux.yml
vendored
2
.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
|
||||||
@ -33,6 +32,7 @@ jobs:
|
|||||||
- 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
|
- opensuse/leap:15.5 # and SLES 15.5
|
||||||
|
- opensuse/leap:15.6 # and SLES 15.6
|
||||||
- rockylinux:8 # RHEL 8
|
- rockylinux:8 # RHEL 8
|
||||||
- rockylinux:9 # RHEL 9
|
- rockylinux:9 # RHEL 9
|
||||||
- ubuntu:20.04
|
- ubuntu:20.04
|
||||||
|
1
AUTHORS
1
AUTHORS
@ -11,6 +11,7 @@ Alexander Fuhr <alexander.fuhr@netways.de>
|
|||||||
Alexander Schomburg <script.acc@alex.schomb.org>
|
Alexander Schomburg <script.acc@alex.schomb.org>
|
||||||
Alexander Stoll <astoll@netways.de>
|
Alexander Stoll <astoll@netways.de>
|
||||||
Alexander Wirt <formorer@debian.org>
|
Alexander Wirt <formorer@debian.org>
|
||||||
|
Alvar Penning <alvar.penning@icinga.com>
|
||||||
Andrea Avancini <andrea.avancini@wuerth-phoenix.com>
|
Andrea Avancini <andrea.avancini@wuerth-phoenix.com>
|
||||||
Andrea Kao <eirinikos@gmail.com>
|
Andrea Kao <eirinikos@gmail.com>
|
||||||
Andreas Maus <maus@badphish.ypbind.de>
|
Andreas Maus <maus@badphish.ypbind.de>
|
||||||
|
@ -24,7 +24,7 @@ if (-not ($env:PATH -contains $env:CMAKE_PATH)) {
|
|||||||
|
|
||||||
cd "$env:ICINGA2_BUILDPATH"
|
cd "$env:ICINGA2_BUILDPATH"
|
||||||
|
|
||||||
ctest.exe -C "${env:CMAKE_BUILD_TYPE}" -T test -O $env:ICINGA2_BUILDPATH/Test.xml --output-on-failure --log_level=all
|
ctest.exe -C "${env:CMAKE_BUILD_TYPE}" -T test -O $env:ICINGA2_BUILDPATH/Test.xml --output-on-failure
|
||||||
if ($lastexitcode -ne 0) {
|
if ($lastexitcode -ne 0) {
|
||||||
cd ..
|
cd ..
|
||||||
exit $lastexitcode
|
exit $lastexitcode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user