File tree Expand file tree Collapse file tree 10 files changed +44
-30
lines changed
Expand file tree Collapse file tree 10 files changed +44
-30
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/yum /install_docs_env.sh
50+ run : share/ci/scripts/linux/dnf /install_docs_env.sh
5151 - name : Install tests env
52- run : share/ci/scripts/linux/yum /install_tests_env.sh
52+ run : share/ci/scripts/linux/dnf /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/yum /install_docs_env.sh
157+ run : share/ci/scripts/linux/dnf /install_docs_env.sh
158158 if : matrix.build-docs == 'ON'
159159 - name : Install tests env
160- run : share/ci/scripts/linux/yum /install_tests_env.sh
160+ run : share/ci/scripts/linux/dnf /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/yum /install_docs_env.sh
369+ run : share/ci/scripts/linux/dnf /install_docs_env.sh
370370 if : matrix.build-docs == 'ON'
371371 - name : Install tests env
372- run : share/ci/scripts/linux/yum /install_tests_env.sh
372+ run : share/ci/scripts/linux/dnf /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/yum /install_docs_env.sh
95+ run : share/ci/scripts/linux/dnf /install_docs_env.sh
9696 if : matrix.build-docs == 'ON'
9797 - name : Install tests env
98- run : share/ci/scripts/linux/yum /install_tests_env.sh
98+ run : share/ci/scripts/linux/dnf /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/yum /install_tests_env.sh
91+ run : share/ci/scripts/linux/dnf /install_tests_env.sh
9292 - name : Create build directories
9393 run : |
9494 mkdir _install
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ will install the Python-related requirements for building the documentation
2828and breathe) and Doxygen.
2929
3030**Note: ** If you are on Linux using yum and don't already have Doxygen installed, you will have to
31- uncomment the relevant line in ``share/ci/scripts/linux/yum /install_docs_env.sh ``
31+ uncomment the relevant line in ``share/ci/scripts/linux/dnf /install_docs_env.sh ``
3232
3333Use GitBash (`provided with Git for Windows <https://gitforwindows.org/ >`_) to
3434execute the script on Windows.
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ test-command = [
2727]
2828
2929[tool .cibuildwheel .linux ]
30- before-build = " share/ci/scripts/linux/yum /install_docs_env.sh"
30+ before-build = " share/ci/scripts/linux/dnf /install_docs_env.sh"
3131
3232[tool .cibuildwheel .macos ]
3333# cibuildwheel in some cases set this to 10.9 by default, OCIO needs >= 10.13
File renamed without changes.
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ # SPDX-License-Identifier: BSD-3-Clause
3+ # Copyright Contributors to the OpenColorIO Project.
4+
5+ set -ex
6+
7+ DOXYGEN_VERSION=" $1 "
8+
9+ if command -v dnf > /dev/null; then
10+ if [ " $DOXYGEN_VERSION " == " latest" ]; then
11+ dnf install -y doxygen
12+ else
13+ dnf install -y doxygen-${DOXYGEN_VERSION}
14+ fi
15+ else
16+ # Is some version of doxygen already available?
17+ if command -v doxygen > /dev/null; then
18+ if [ " $DOXYGEN_VERSION " == " latest" ]; then
19+ # Get latest doxygen version from GH
20+ DOXYGEN_VERSION=$(
21+ curl --silent https://api.github.com/repos/doxygen/doxygen/releases/latest | \
22+ grep ' "tag_name":' | \
23+ sed -E ' s/.*"Release_([0-9_]+)".*/\1/' | \
24+ tr ' _' ' .'
25+ )
26+ fi
27+
28+ # Manual install
29+ wget https://doxygen.nl/files/doxygen-${DOXYGEN_VERSION} .linux.bin.tar.gz
30+ tar -xzf doxygen-${DOXYGEN_VERSION} .linux.bin.tar.gz
31+ cp doxygen-${DOXYGEN_VERSION} /bin/doxygen /usr/local/bin/
32+ fi
33+ fi
File renamed without changes.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments