Skip to content

Commit

Permalink
Fix Doxygen check (#15289)
Browse files Browse the repository at this point in the history
Despite its file path, the Doxygen check can run outside of a CI environment. Remove its dependency on gha-tools' rapids-version and rapids-version-major-minor.

Authors:
  - Kyle Edwards (https://github.com/KyleFromNVIDIA)

Approvers:
  - Bradley Dice (https://github.com/bdice)
  - David Wendt (https://github.com/davidwendt)
  - Ray Douglass (https://github.com/raydouglass)

URL: #15289
  • Loading branch information
KyleFromNVIDIA committed Mar 13, 2024
1 parent 1ac1b2d commit a652a60
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ci/checks/doxygen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ if [ ! $(version "$DOXYGEN_VERSION") -eq $(version "1.9.1") ] ; then
fi

# Set variables for doxygen
export RAPIDS_VERSION="$(rapids-version)"
export RAPIDS_VERSION_MAJOR_MINOR="$(rapids-version-major-minor)"
# We can't use gha-tools' rapids-version and rapids-version-major-minor here because this script can run outside of CI
export RAPIDS_VERSION="$(sed -E -e "s/^([0-9]{2})\.([0-9]{2})\.([0-9]{2}).*$/\1.\2.\3/" VERSION)"
export RAPIDS_VERSION_MAJOR_MINOR="$(sed -E -e "s/^([0-9]{2})\.([0-9]{2})\.([0-9]{2}).*$/\1.\2/" VERSION)"

# Run doxygen, ignore missing tag files error
TAG_ERROR1="error: Tag file '.*.tag' does not exist or is not a file. Skipping it..."
Expand Down

0 comments on commit a652a60

Please sign in to comment.