3838 - {name: "gentoo/stage3", tag: "latest"}
3939 - {name: "opensuse/tumbleweed", tag: "latest", variant: "-default", url: "registry.opensuse.org/"}
4040 - {name: "opensuse/leap", tag: "15.6", variant: "-default", url: "registry.opensuse.org/"}
41+ - {name: "oraclelinux", tag: "10", uek: "ol10_UEKR8"}
42+ - {name: "oraclelinux", tag: "9", uek: "ol9_UEKR8", gcc: "gcc-toolset-14"}
43+ - {name: "oraclelinux", tag: "8", uek: "ol8_UEKR7", gcc: "gcc-toolset-11"}
4144 - {name: "ubuntu", tag: "25.04"}
4245 - {name: "ubuntu", tag: "24.04"}
4346 - {name: "ubuntu", tag: "22.04"}
@@ -46,21 +49,33 @@ jobs:
4649 image : ${{ matrix.distro.url }}${{ matrix.distro.name }}:${{ matrix.distro.tag }}
4750
4851 steps :
49- - name : Install git for checkout action
50- if : contains(matrix.distro.name, 'opensuse')
52+ - name : Checkout
53+ if : matrix.distro.name == 'opensuse/leap' && matrix.distro.tag == '15.6'
54+ # openSUSE Leap 15.6 does not have tar in the base image
5155 run : |
52- zypper --non-interactive install git
53-
56+ zypper --non-interactive install tar gzip
5457 - uses : actions/checkout@v5
5558
5659 - name : Install dependencies for Red Hat based distributions
5760 if : matrix.distro.name == 'almalinux' || matrix.distro.name == 'centos' || matrix.distro.name == 'fedora'
58- # Relax crypto policies on Fedora 43+ to allow RSA signatures
61+ # Relax crypto policies to allow RSA signatures
5962 run : |
6063 dnf install -y gawk diffutils elfutils-libelf gcc kernel kernel-devel make openssl patch crypto-policies-scripts
6164 update-crypto-policies --set LEGACY
6265 make install-redhat
6366
67+ - name : Install dependencies for Oracle Linux
68+ if : matrix.distro.name == 'oraclelinux'
69+ # Relax crypto policies to allow RSA signatures
70+ run : |
71+ dnf config-manager --set-enabled ${{ matrix.distro.uek }}
72+ dnf install -y gawk diffutils elfutils-libelf gcc kernel-uek kernel-uek-devel make openssl patch crypto-policies-scripts
73+ update-crypto-policies --set LEGACY
74+ make install-redhat
75+ if [ -n "${{ matrix.distro.gcc }}" ]; then
76+ echo "build_environment=\"/opt/rh/${{ matrix.distro.gcc }}/enable\"" >> /etc/dkms/framework.conf.d/uek.conf
77+ fi
78+
6479 - name : Install Alpine dependencies
6580 if : matrix.distro.name == 'alpine'
6681 run : |
0 commit comments