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 9393 EXPLICIT_MAKE_VARS="DEBUG=1"
9494 elif [ "${{ matrix.python-ruby-version.other }}" = "sanitizers" ] ; then
9595 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= "
9797 echo "ASAN_OPTIONS=detect_leaks=0" >> $GITHUB_ENV
9898 echo "UBSAN_OPTIONS=print_stacktrace=1:print_summary=1" >> $GITHUB_ENV
9999 else
@@ -176,10 +176,12 @@ jobs:
176176 echo "::endgroup::"
177177
178178 # 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
183185
184186 # Run Python linter, but not on the downloaded refpolicy
185187 echo "::group::scripts/run-flake8"
You can’t perform that action at this time.
0 commit comments