Skip to content

Commit b06f729

Browse files
authored
Merge pull request #1688 from EliahKagan/run-ci/impure-next
Check for unrecognized `*-sys` dependencies
2 parents aeaebec + a1414c8 commit b06f729

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343
- name: Verify that we are in an environment with limited dev tools
4444
run: |
4545
set -x
46-
for pattern in cmake g++ libssl-dev make pkgconf pkg-config; do
47-
if dpkg-query --status -- "$pattern"; then
46+
for package in cmake g++ libssl-dev make pkgconf pkg-config; do
47+
if dpkg-query --status -- "$package"; then
4848
exit 1
4949
fi
5050
done
@@ -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)