Skip to content

Commit 0f8b5c9

Browse files
committed
debug
1 parent e1c4c7f commit 0f8b5c9

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/macos.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,26 @@ jobs:
2121
- name: Setup Rust cache
2222
uses: Swatinem/rust-cache@v2
2323

24+
- name: Fetch dependencies and update submodules
25+
run: |
26+
cargo fetch
27+
# Ensure git submodules in the cargo git checkouts are initialized
28+
for dir in ~/.cargo/git/checkouts/roslibrust-*/*/; do
29+
if [ -d "$dir" ]; then
30+
echo "Updating submodules in $dir"
31+
(cd "$dir" && git submodule update --init --recursive) || true
32+
fi
33+
done
34+
35+
- name: Debug - Check cargo git checkouts
36+
run: |
37+
echo "HOME: $HOME"
38+
echo "CARGO_HOME: ${CARGO_HOME:-not set}"
39+
echo "Checking for roslibrust checkouts:"
40+
ls -la ~/.cargo/git/checkouts/ 2>/dev/null || echo "No checkouts directory"
41+
find ~/.cargo/git/checkouts -name "roslibrust-*" -type d 2>/dev/null || echo "No roslibrust directories found"
42+
echo "Checking for assets directory:"
43+
find ~/.cargo/git/checkouts -name "assets" -type d 2>/dev/null || echo "No assets directories found"
44+
2445
- name: Build examples without ROS dependencies
2546
run: cargo build --examples

0 commit comments

Comments
 (0)