99jobs :
1010 build :
1111 name : Build on ${{ matrix.cfg.container }} - ${{ matrix.cfg.cc-version }}
12- runs-on : ubuntu-20 .04
12+ runs-on : ubuntu-22 .04
1313 container : ${{ matrix.cfg.container }}
1414 strategy :
1515 fail-fast : false
1616 matrix :
1717 cfg :
18- - { container: 'ubuntu:16.04', cc-version: gcc }
19- - { container: 'ubuntu:16.04', cc-version: clang }
2018 - { container: 'ubuntu:20.04', cc-version: gcc }
2119 - { container: 'ubuntu:20.04', cc-version: clang }
2220 - { container: 'ubuntu:22.04', cc-version: gcc }
2321 - { container: 'ubuntu:22.04', cc-version: clang }
22+ - { container: 'ubuntu:24.04', cc-version: gcc }
23+ - { container: 'ubuntu:24.04', cc-version: clang }
2424 - { container: 'debian:stable', cc-version: gcc }
2525 - { container: 'debian:stable', cc-version: clang }
2626 - { container: 'debian:sid', cc-version: gcc }
2727 - { container: 'debian:sid', cc-version: clang }
28- - { container: 'quay.io/centos/centos:7 ', cc-version: gcc }
29- - { container: 'quay.io/centos/centos:7 ', cc-version: clang }
28+ - { container: 'quay.io/rockylinux/rockylinux:8 ', cc-version: gcc }
29+ - { container: 'quay.io/rockylinux/rockylinux:8 ', cc-version: clang }
3030 - { container: 'quay.io/centos/centos:stream9', cc-version: gcc }
3131 - { container: 'quay.io/centos/centos:stream9', cc-version: clang }
3232 - { container: 'fedora:latest', cc-version: gcc }
5858 dnf -y install ${{ matrix.cfg.cc-version }}
5959 ${{ matrix.cfg.cc-version }} --version
6060 ;;
61- */centos:7)
62- cat /etc/centos-release
63- rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
64- yum -y update
65- yum -y install ${{ matrix.cfg.cc-version }}
66- ${{ matrix.cfg.cc-version }} --version
67- ;;
68- */centos:stream8)
69- cat /etc/centos-release
70- rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
61+ */rockylinux:8)
62+ cat /etc/rocky-release
63+ rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial
7164 dnf -y update --nobest --allowerasing
7265 dnf -y install ${{ matrix.cfg.cc-version }}
7366 ${{ matrix.cfg.cc-version }} --version
@@ -121,28 +114,7 @@ jobs:
121114 dnf -y install \
122115 quilt xkbcomp-devel
123116 ;;
124- */centos:7)
125- # enable epel repository for quilt
126- yum -y install epel-release
127- rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
128- # basic packages
129- yum -y install \
130- autoconf automake gcc-c++ libtool make imake pkgconfig which
131- # imake deps
132- yum -y install \
133- xorg-x11-proto-devel zlib-devel
134- # X11 libraries deps
135- yum -y install \
136- libjpeg-devel expat-devel libpng-devel libxml2-devel pixman-devel \
137- libX11-devel libXext-devel libXpm-devel libXfont-devel \
138- libXdmcp-devel libXdamage-devel libXcomposite-devel \
139- libXrandr-devel libXfixes-devel libXtst-devel libXinerama-devel \
140- xorg-x11-font-utils libtirpc-devel xkeyboard-config
141- # soft requirements
142- yum -y --enablerepo=epel install \
143- quilt xorg-x11-xkb-utils-devel
144- ;;
145- */centos:stream8)
117+ */rockylinux:8)
146118 # Enable powertools repository for imake
147119 dnf -y install dnf-plugins-core epel-release
148120 rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
@@ -189,7 +161,7 @@ jobs:
189161 esac
190162
191163 - name : Checkout repository
192- uses : actions/checkout@v2
164+ uses : actions/checkout@v4
193165
194166 - name : Build nx-libs with ${{ matrix.cfg.cc-version }}
195167 shell : sh
@@ -207,7 +179,7 @@ jobs:
207179 ;;
208180 esac
209181 case "${{ matrix.cfg.container }}" in
210- fedora*|*/centos*|debian*|ubuntu*)
182+ fedora*|*/centos*|*/rockylinux*| debian*|ubuntu*)
211183 export IMAKE_DEFINES="-DUseTIRPC=YES"
212184 make VERBOSE=1 IMAKE_DEFINES="${IMAKE_DEFINES}"
213185 ;;
0 commit comments