aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-04-28 14:34:41 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-04-28 14:34:41 +0200
commitfb0f8c1b77bfb3fd8b44795e09ed0e67acddfb84 (patch)
treec1141ac018276fe18c824250073dee97f9a9ea54
parent9b94209f53782ecaf7084722ce90836573ceb86b (diff)
parentd6acd9253bdd08158ebdd9d46410725d724e0fb0 (diff)
downloadnx-libs-fb0f8c1b77bfb3fd8b44795e09ed0e67acddfb84.tar.gz
nx-libs-fb0f8c1b77bfb3fd8b44795e09ed0e67acddfb84.tar.bz2
nx-libs-fb0f8c1b77bfb3fd8b44795e09ed0e67acddfb84.zip
Merge branch 'mjtrangoni-move-to-stream' into 3.6.x
Attributes GH PR #1045: https://github.com/ArcticaProject/nx-libs/pull/1045
-rw-r--r--.github/workflows/nx-libs.yml79
1 files changed, 55 insertions, 24 deletions
diff --git a/.github/workflows/nx-libs.yml b/.github/workflows/nx-libs.yml
index a31be7405..89fec0f60 100644
--- a/.github/workflows/nx-libs.yml
+++ b/.github/workflows/nx-libs.yml
@@ -25,10 +25,12 @@ jobs:
- { container: 'debian:stable', cc-version: clang }
- { container: 'debian:sid', cc-version: gcc }
- { container: 'debian:sid', cc-version: clang }
- - { container: 'centos:7', cc-version: gcc }
- - { container: 'centos:7', cc-version: clang }
- - { container: 'centos:8', cc-version: gcc }
- - { container: 'centos:8', cc-version: clang }
+ - { container: 'quay.io/centos/centos:7', cc-version: gcc }
+ - { container: 'quay.io/centos/centos:7', cc-version: clang }
+ - { container: 'quay.io/centos/centos:stream8', cc-version: gcc }
+ - { container: 'quay.io/centos/centos:stream8', cc-version: clang }
+ - { container: 'quay.io/centos/centos:stream9', cc-version: gcc }
+ - { container: 'quay.io/centos/centos:stream9', cc-version: clang }
- { container: 'fedora:latest', cc-version: gcc }
- { container: 'fedora:latest', cc-version: clang }
@@ -58,21 +60,28 @@ jobs:
dnf -y install ${{ matrix.cfg.cc-version }}
${{ matrix.cfg.cc-version }} --version
;;
- centos:8)
+ */centos:7)
+ cat /etc/centos-release
+ rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
+ yum -y update
+ yum -y install ${{ matrix.cfg.cc-version }}
+ ${{ matrix.cfg.cc-version }} --version
+ ;;
+ */centos:stream8)
cat /etc/centos-release
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
- dnf -y update
+ dnf -y update --nobest --allowerasing
dnf -y install ${{ matrix.cfg.cc-version }}
${{ matrix.cfg.cc-version }} --version
;;
- centos:7)
+ */centos:stream9)
cat /etc/centos-release
- rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
- yum -y update
- yum -y install ${{ matrix.cfg.cc-version }}
+ rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
+ dnf -y update
+ dnf -y install ${{ matrix.cfg.cc-version }}
${{ matrix.cfg.cc-version }} --version
;;
- esac
+ esac
- name: Install nx-libs dependencies ${{ matrix.cfg.cc-version }}
shell: sh
@@ -114,7 +123,28 @@ jobs:
dnf -y install \
quilt xkbcomp-devel
;;
- centos:8)
+ */centos:7)
+ # enable epel repository for quilt
+ yum -y install epel-release
+ rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
+ # basic packages
+ yum -y install \
+ autoconf automake gcc-c++ libtool make imake pkgconfig which
+ # imake deps
+ yum -y install \
+ xorg-x11-proto-devel zlib-devel
+ # X11 libraries deps
+ yum -y install \
+ libjpeg-devel expat-devel libpng-devel libxml2-devel pixman-devel \
+ libX11-devel libXext-devel libXpm-devel libXfont-devel \
+ libXdmcp-devel libXdamage-devel libXcomposite-devel \
+ libXrandr-devel libXfixes-devel libXtst-devel libXinerama-devel \
+ xorg-x11-font-utils libtirpc-devel xkeyboard-config
+ # soft requirements
+ yum -y --enablerepo=epel install \
+ quilt xorg-x11-xkb-utils-devel
+ ;;
+ */centos:stream8)
# Enable powertools repository for imake
dnf -y install dnf-plugins-core epel-release
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
@@ -136,26 +166,27 @@ jobs:
dnf --enablerepo="epel" -y install \
quilt xorg-x11-xkb-utils-devel
;;
- centos:7)
- # enable epel repository for quilt
- yum -y install epel-release
- rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
+ */centos:stream9)
+ dnf -y install dnf-plugins-core epel-release
+ rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
+ # CodeReady Linux Builder, replacement for PowerTools
+ dnf config-manager --set-enabled crb
# basic packages
- yum -y install \
+ dnf -y install \
autoconf automake gcc-c++ libtool make imake pkgconfig which
# imake deps
- yum -y install \
+ dnf -y install \
xorg-x11-proto-devel zlib-devel
# X11 libraries deps
- yum -y install \
+ dnf -y install \
libjpeg-devel expat-devel libpng-devel libxml2-devel pixman-devel \
- libX11-devel libXext-devel libXpm-devel libXfont-devel \
+ libX11-devel libXext-devel libXpm-devel libXfont2-devel \
libXdmcp-devel libXdamage-devel libXcomposite-devel \
libXrandr-devel libXfixes-devel libXtst-devel libXinerama-devel \
- xorg-x11-font-utils libtirpc-devel xkeyboard-config
+ libtirpc-devel mkfontscale xkeyboard-config
# soft requirements
- yum -y --enablerepo=epel install \
- quilt xorg-x11-xkb-utils-devel
+ dnf -y install \
+ quilt setxkbmap xkbcomp
;;
esac
@@ -178,7 +209,7 @@ jobs:
;;
esac
case "${{ matrix.cfg.container }}" in
- fedora*|centos*|debian*|ubuntu*)
+ fedora*|*/centos*|debian*|ubuntu*)
export IMAKE_DEFINES="-DUseTIRPC=YES"
make IMAKE_DEFINES="${IMAKE_DEFINES}"
;;