Skip to content

Commit 8ff49c4

Browse files
committed
Check for unrecognized *-sys dependencies
This adds another step to `pure-rust-build` that fails -- and fails the job -- when there are any dependencies named `*-sys` other than `linux-raw-sys`, which is known about. (This is independent of the use of C in `ring` -- discussed in #1681, #1682, and #1684 -- because `ring` is not, and does not use, a `*-sys` dependency.) This should fail prior to 3506afb (#1684) and pass afterwards.
1 parent 9ab86a2 commit 8ff49c4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ jobs:
6464
pattern='.*\b(-sys|cc|cmake|pkg-config|vcpkg)\b.*'
6565
! GREP_COLORS='ms=30;48;5;214' grep --color=always -Ex -C 1000000 -e "$pattern" tree.txt
6666
continue-on-error: true
67+
- name: Check for unrecognized *-sys dependencies
68+
run: |
69+
! grep -qP '(?<!\blinux-raw)-sys\b' tree.txt
6770
- name: Wrap cc1 (and cc1plus if present) to record calls
6871
run: |
6972
cat >/usr/local/bin/wrapper1 <<'EOF'

0 commit comments

Comments
 (0)