@@ -53,11 +53,12 @@ jobs:
53
53
echo ======= SYSTEM INFO ========
54
54
uname -a; gcc --version | grep "gcc"; python3 --version; qmake --version
55
55
echo ============================
56
- qmake -r PythonQt.pro CONFIG+=release CONFIG+=sanitizer CONFIG+=sanitize_undefined \
56
+ qmake -r PythonQt.pro CONFIG+=release CONFIG+=force_debug_info \
57
+ CONFIG+=sanitizer CONFIG+=sanitize_undefined CONFIG+=sanitize_address \
57
58
PYTHON_VERSION=$(python3 --version | cut -d " " -f 2 | cut -d "." -f1,2) \
58
59
PYTHON_DIR=$(which python3 | xargs dirname | xargs dirname)
59
60
make -j 2
60
- UBSAN_OPTIONS="halt_on_error=1" ASAN_OPTIONS="detect_stack_use_after_return=1:fast_unwind_on_malloc=0" \
61
+ UBSAN_OPTIONS="halt_on_error=1" ASAN_OPTIONS="detect_leaks=0: detect_stack_use_after_return=1:fast_unwind_on_malloc=0" \
61
62
make check TESTARGS="-platform offscreen"
62
63
63
64
- name : Generate Wrappers
66
67
mkdir /usr/include/qt5; ln -s /usr/include/x86_64-linux-gnu/qt5 /usr/include/qt5/include
67
68
export QTDIR=/usr/include/qt5
68
69
cd generator
70
+ UBSAN_OPTIONS="halt_on_error=1" ASAN_OPTIONS="detect_leaks=0:detect_stack_use_after_return=1:fast_unwind_on_malloc=0" \
69
71
./pythonqt_generator
70
72
71
73
- name : Upload Wrappers
@@ -196,20 +198,21 @@ jobs:
196
198
for i in "python${{ steps.versions.outputs.PYTHON_VERSION_SHORT }}-embed" "python${{ steps.versions.outputs.PYTHON_VERSION_SHORT }}" \
197
199
"python${PYTHON_VERSION_MAJOR}-embed" "python${PYTHON_VERSION_MAJOR}"
198
200
do if pkg-config --exists "$i"; then PYTHON_PKGCONFIG_NAME="$i"; break; fi; done
199
- qmake CONFIG+=${{ matrix.configuration }} CONFIG+=sanitizer CONFIG+=sanitize_undefined \
201
+ qmake CONFIG+=${{ matrix.configuration }} CONFIG+=sanitizer CONFIG+=sanitize_undefined CONFIG+=sanitize_address \
200
202
PYTHON_VERSION=${{ steps.versions.outputs.PYTHON_VERSION_SHORT }} \
201
203
PYTHON_DIR="$pythonLocation" \
202
204
PKGCONFIG+=$PYTHON_PKGCONFIG_NAME \
203
205
-r PythonQt.pro
204
206
make -j 2
205
- UBSAN_OPTIONS="halt_on_error=1" ASAN_OPTIONS="detect_stack_use_after_return=1:fast_unwind_on_malloc=0" \
207
+ UBSAN_OPTIONS="halt_on_error=1" ASAN_OPTIONS="detect_leaks=0: detect_stack_use_after_return=1:fast_unwind_on_malloc=0" \
206
208
make check TESTARGS="-platform offscreen"
207
209
208
210
- name : Generate Wrappers
209
211
if : ${{ contains(matrix.configuration, 'release') }}
210
212
run : |
211
213
cd generator
212
214
# workaround to allow to find the Qt include dirs for installed standard qt packages
215
+ UBSAN_OPTIONS="halt_on_error=1" ASAN_OPTIONS="detect_leaks=0:detect_stack_use_after_return=1:fast_unwind_on_malloc=0" \
213
216
QTDIR=-UNDEFINED- ./pythonqt_generator --include-paths=$Qt5_Dir/lib
214
217
215
218
- name : Upload Wrappers
0 commit comments