|
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 |
@@ -175,16 +175,18 @@ jobs: |
175 | 175 | eval make test $EXPLICIT_MAKE_VARS |
176 | 176 | echo "::endgroup::" |
177 | 177 |
|
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::" |
183 | | -
|
184 | | - # Run Python linter, but not on the downloaded refpolicy |
185 | | - echo "::group::scripts/run-flake8" |
186 | | - ./scripts/run-flake8 |
187 | | - echo "::endgroup::" |
| 178 | + if [ "${{ matrix.python-ruby-version.other }}" != "sanitizers" ] ; then |
| 179 | + # Test Python and Ruby wrappers |
| 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 | +
|
| 185 | + # Run Python linter, but not on the downloaded refpolicy |
| 186 | + echo "::group::scripts/run-flake8" |
| 187 | + ./scripts/run-flake8 |
| 188 | + echo "::endgroup::" |
| 189 | + fi |
188 | 190 |
|
189 | 191 | echo "::group::Test .gitignore and make clean distclean" |
190 | 192 | # Remove every installed files |
|
0 commit comments