Skip to content

Commit

Permalink
Don't run cmake sanity checks in certain cases
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
azeey committed Dec 16, 2024
1 parent 535df30 commit 514b7a8
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
3 changes: 2 additions & 1 deletion release.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,8 @@ def sanity_checks(args, repo_dir):
if not NIGHTLY:
sanity_package_version(repo_dir, args.version, str(args.release_version))
sanity_check_sdformat_versions(args.package, args.version)
sanity_cmake_version(args.version)
if not (args.bump_rev_linux_only or args.source_repo_uri):
sanity_cmake_version(args.version)
sanity_project_package_in_stable(args.version, args.upload_to_repository)

check_credentials(args.auth_input_arg)
Expand Down
19 changes: 19 additions & 0 deletions terminal-dashboard/_dashboard_lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,25 @@ get_libraries_by_collection()
ignition-gazebo6
ignition-launch5
ignition-fortress"
elif [ "$COLLECTION" = "garden" ]; then
LIBS="
gz-cmake3
gz-math7
gz-utils2
gz-tools2
gz-common5
gz-msgs9
gz-transport12
gz-fuel-tools8
gz-plugin2
gz-rendering7
sdformat13
gz-physics6
gz-sensors7
gz-gui7
gz-sim7
gz-launch6
gz-garden"
elif [ "$COLLECTION" = "harmonic" ]; then
LIBS="
gz-cmake3
Expand Down
4 changes: 3 additions & 1 deletion terminal-dashboard/table.bash
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@ for LIB in $(get_libraries_by_collection "${COLLECTION}" ); do
VERS=( "bionic" "focal" )
elif [[ $COLLECTION == "fortress" ]]; then
VERS=( "bionic" "focal" "jammy" )
elif [[ $COLLECTION == "garden" ]]; then
VERS=( "focal" "jammy" )
elif [[ $COLLECTION == "harmonic" ]]; then
VERS=( "jammy" )
VERS=( "jammy" "noble" )
elif [[ $COLLECTION == "ionic" ]]; then
VERS=( "noble" )
fi
Expand Down

0 comments on commit 514b7a8

Please sign in to comment.