File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 43
43
- name : Verify that we are in an environment with limited dev tools
44
44
run : |
45
45
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
48
48
exit 1
49
49
fi
50
50
done
64
64
pattern='.*\b(-sys|cc|cmake|pkg-config|vcpkg)\b.*'
65
65
! GREP_COLORS='ms=30;48;5;214' grep --color=always -Ex -C 1000000 -e "$pattern" tree.txt
66
66
continue-on-error : true
67
+ - name : Check for unrecognized *-sys dependencies
68
+ run : |
69
+ ! grep -qP '(?<!\blinux-raw)-sys\b' tree.txt
67
70
- name : Wrap cc1 (and cc1plus if present) to record calls
68
71
run : |
69
72
cat >/usr/local/bin/wrapper1 <<'EOF'
You can’t perform that action at this time.
0 commit comments