Skip to content

Commit 77430af

Browse files
committed
Add CI step for drake_cmake_external dependencies
Use the new upgrade script in CI to verify that dependencies remain synced over time.
1 parent 91210de commit 77430af

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,20 @@ jobs:
5858
run: |
5959
pip install ruamel.yaml
6060
python ./private/test/file_sync_test.py
61+
check_cmake_deps:
62+
name: sync drake_cmake_external deps
63+
runs-on: ubuntu-latest
64+
steps:
65+
- name: checkout
66+
uses: actions/checkout@v5
67+
- name: setup
68+
uses: actions/setup-python@v6
69+
- name: upgrade test
70+
run: |
71+
python ./private/upgrade_cmake_externals.py | tee output.log
72+
output="$(cat output.log)"
73+
if [[ -n "$(echo $output)" ]]; then
74+
echo "Check Drake for possible upgrades to drake_cmake_external dependencies."
75+
exit 1
76+
fi
77+
shell: bash

0 commit comments

Comments
 (0)