Skip to content

Commit 98d1cb6

Browse files
committed
ci: check for compiled artifacts (deps/*.rlib) not just fingerprints
1 parent c666873 commit 98d1cb6

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,13 @@ jobs:
3434
ls -la target/ 2>/dev/null | head -20 || echo "No target dir"
3535
echo "=== fingerprint count ==="
3636
ls target/debug/.fingerprint/ 2>/dev/null | wc -l || echo "No fingerprints"
37+
echo "=== COMPILED ARTIFACTS (deps/) ==="
38+
ls target/debug/deps/ 2>/dev/null | wc -l || echo "No deps dir"
39+
ls target/debug/deps/libmemchr* 2>/dev/null || echo "No memchr artifacts"
3740
echo "=== registry/src ==="
3841
ls ~/.cargo/registry/src/ 2>/dev/null | head -5 || echo "No registry src"
3942
echo "=== memchr source file timestamp ==="
4043
ls -la ~/.cargo/registry/src/*/memchr-*/src/lib.rs 2>/dev/null || echo "No memchr src"
41-
echo "=== sample dep fingerprint (memchr) ==="
42-
ls -la target/debug/.fingerprint/memchr-* 2>/dev/null || echo "No memchr fingerprint"
43-
echo "=== memchr fingerprint content ==="
44-
cat target/debug/.fingerprint/memchr-*/lib-memchr.json 2>/dev/null | head -5 || echo "No fingerprint json"
4544
shell: bash
4645
- name: Build workspace
4746
run: cargo test --workspace --all-features --no-run ${{ inputs.exclude-crates && format('--exclude {0}', inputs.exclude-crates) || '' }}
@@ -80,14 +79,13 @@ jobs:
8079
ls -la target/ 2>/dev/null | head -20 || echo "No target dir"
8180
echo "=== fingerprint count ==="
8281
ls target/debug/.fingerprint/ 2>/dev/null | wc -l || echo "No fingerprints"
82+
echo "=== COMPILED ARTIFACTS (deps/) ==="
83+
ls target/debug/deps/ 2>/dev/null | wc -l || echo "No deps dir"
84+
ls target/debug/deps/libmemchr* 2>/dev/null || echo "No memchr artifacts"
8385
echo "=== registry/src ==="
8486
ls ~/.cargo/registry/src/ 2>/dev/null | head -5 || echo "No registry src"
8587
echo "=== memchr source file timestamp ==="
8688
ls -la ~/.cargo/registry/src/*/memchr-*/src/lib.rs 2>/dev/null || echo "No memchr src"
87-
echo "=== sample dep fingerprint (memchr) ==="
88-
ls -la target/debug/.fingerprint/memchr-* 2>/dev/null || echo "No memchr fingerprint"
89-
echo "=== memchr fingerprint content ==="
90-
cat target/debug/.fingerprint/memchr-*/lib-memchr.json 2>/dev/null | head -5 || echo "No fingerprint json"
9189
shell: bash
9290
- uses: actions/setup-python@v5
9391
with:

0 commit comments

Comments
 (0)