File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 5757 # - { os: osx.15, arch: arm64, runs-on: macos-15 }
5858 - { os: centos.7, arch: x64, runs-on: ubuntu-22.04, image: oraclelinux:7 }
5959 - { os: centos.7, arch: arm64, runs-on: ubuntu-22.04-arm, image: oraclelinux:7 }
60+ - { os: rhel.8, arch: x64, runs-on: ubuntu-22.04, image: oraclelinux:7 }
61+ - { os: rhel.8, arch: arm64, runs-on: ubuntu-22.04-arm, image: oraclelinux:7 }
6062
6163 steps :
6264 - name : Checkout OpenCV repo
@@ -96,14 +98,20 @@ jobs:
9698 yum-config-manager --enable ol7_developer_epel
9799 EOS
98100 )
101+ elif [[ "${{ matrix.os }}" == "rhel.8" ]]; then
102+ script=$(
103+ cat <<'EOS'
104+ set -eux
105+ yum install -y oracle-epel-release-el8
106+ yum-config-manager --enable ol8_developer_epel
99107 fi
100108 echo "Executing script in Docker container: $script"
101109 docker exec builder bash -c "$script"
102110
103111 - name : Install Dependencies in Docker Container
104112 if : matrix.image != ''
105113 run : |
106- if [[ "${{ matrix.os }}" == "centos.7" ]]; then
114+ if [[ "${{ matrix.os }}" == "centos.7" or "${{ matrix.os }}" == "rhel.8" ]]; then
107115 script=$(
108116 cat <<'EOS'
109117 yum install -y gcc cmake3 gcc-c++ make nasm
You can’t perform that action at this time.
0 commit comments