File tree Expand file tree Collapse file tree 5 files changed +18
-11
lines changed
share/ci/scripts/linux/yum Expand file tree Collapse file tree 5 files changed +18
-11
lines changed Original file line number Diff line number Diff line change 4747 - name : Install sonar-scanner and build-wrapper
4848 uses : sonarsource/sonarcloud-github-c-cpp@v2
4949 - name : Install docs env
50- run : share/ci/scripts/linux/apt /install_docs_env.sh
50+ run : share/ci/scripts/linux/yum /install_docs_env.sh
5151 - name : Install tests env
52- run : share/ci/scripts/linux/apt /install_tests_env.sh
52+ run : share/ci/scripts/linux/yum /install_tests_env.sh
5353 - name : Create build directories
5454 run : |
5555 mkdir _install
Original file line number Diff line number Diff line change @@ -154,10 +154,10 @@ jobs:
154154 - name : Checkout
155155 uses : actions/checkout@v4
156156 - name : Install docs env
157- run : share/ci/scripts/linux/apt /install_docs_env.sh
157+ run : share/ci/scripts/linux/yum /install_docs_env.sh
158158 if : matrix.build-docs == 'ON'
159159 - name : Install tests env
160- run : share/ci/scripts/linux/apt /install_tests_env.sh
160+ run : share/ci/scripts/linux/yum /install_tests_env.sh
161161 - name : Create build directories
162162 run : |
163163 mkdir _install
@@ -366,10 +366,10 @@ jobs:
366366 - name : Checkout
367367 uses : actions/checkout@v3
368368 - name : Install docs env
369- run : share/ci/scripts/linux/apt /install_docs_env.sh
369+ run : share/ci/scripts/linux/yum /install_docs_env.sh
370370 if : matrix.build-docs == 'ON'
371371 - name : Install tests env
372- run : share/ci/scripts/linux/apt /install_tests_env.sh
372+ run : share/ci/scripts/linux/yum /install_tests_env.sh
373373 - name : Create build directories
374374 run : |
375375 mkdir _install
Original file line number Diff line number Diff line change @@ -92,10 +92,10 @@ jobs:
9292 - name : Checkout
9393 uses : actions/checkout@v3
9494 - name : Install docs env
95- run : share/ci/scripts/linux/apt /install_docs_env.sh
95+ run : share/ci/scripts/linux/yum /install_docs_env.sh
9696 if : matrix.build-docs == 'ON'
9797 - name : Install tests env
98- run : share/ci/scripts/linux/apt /install_tests_env.sh
98+ run : share/ci/scripts/linux/yum /install_tests_env.sh
9999 - name : Setup ext environment
100100 run : |
101101 EXT_PATH=/usr/local
Original file line number Diff line number Diff line change 8888 - name : Checkout
8989 uses : actions/checkout@v4
9090 - name : Install tests env
91- run : share/ci/scripts/linux/apt /install_tests_env.sh
91+ run : share/ci/scripts/linux/yum /install_tests_env.sh
9292 - name : Create build directories
9393 run : |
9494 mkdir _install
Original file line number Diff line number Diff line change 55set -ex
66
77DOXYGEN_VERSION=" $1 "
8+ YUM_CMD=" yum"
89
10+ # RockyLinux instead of CentOS?
11+ if command -v dnf > /dev/null; then
12+ YUM_CMD=" dnf"
13+ fi
14+
15+ $YUM_CMD install -y epel-release
916if [ " $DOXYGEN_VERSION " == " latest" ]; then
10- yum install -y doxygen
17+ $YUM_CMD install -y doxygen
1118else
12- yum install -y doxygen-${DOXYGEN_VERSION}
19+ $YUM_CMD install -y doxygen-${DOXYGEN_VERSION}
1320fi
You can’t perform that action at this time.
0 commit comments