File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 93
93
EXPLICIT_MAKE_VARS="DEBUG=1"
94
94
elif [ "${{ matrix.python-ruby-version.other }}" = "sanitizers" ] ; then
95
95
sanitizers='-fsanitize=address,undefined'
96
- EXPLICIT_MAKE_VARS="CFLAGS='-g -I$DESTDIR/usr/include $sanitizers' LDFLAGS='-L$DESTDIR/usr/lib $sanitizers' LDLIBS= CPPFLAGS="
96
+ EXPLICIT_MAKE_VARS="CFLAGS='-g -I$DESTDIR/usr/include $sanitizers' LDFLAGS='-L$DESTDIR/usr/lib $sanitizers' LDLIBS= CPPFLAGS= OPT_SUBDIRS= "
97
97
echo "ASAN_OPTIONS=detect_leaks=0" >> $GITHUB_ENV
98
98
echo "UBSAN_OPTIONS=print_stacktrace=1:print_summary=1" >> $GITHUB_ENV
99
99
else
@@ -176,10 +176,12 @@ jobs:
176
176
echo "::endgroup::"
177
177
178
178
# Test Python and Ruby wrappers
179
- echo "::group::Test Python and Ruby wrappers"
180
- $PYTHON -c 'import selinux;import selinux.audit2why;import semanage;print(selinux.is_selinux_enabled())'
181
- $RUBY -e 'require "selinux";require "semanage";puts Selinux::is_selinux_enabled()'
182
- echo "::endgroup::"
179
+ if [ "${{ matrix.python-ruby-version.other }}" != "sanitizers" ] ; then
180
+ echo "::group::Test Python and Ruby wrappers"
181
+ $PYTHON -c 'import selinux;import selinux.audit2why;import semanage;print(selinux.is_selinux_enabled())'
182
+ $RUBY -e 'require "selinux";require "semanage";puts Selinux::is_selinux_enabled()'
183
+ echo "::endgroup::"
184
+ fi
183
185
184
186
# Run Python linter, but not on the downloaded refpolicy
185
187
echo "::group::scripts/run-flake8"
You can’t perform that action at this time.
0 commit comments