summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <pwithnall@endlessos.org>2023-02-21 11:49:48 +0000
committerPhilip Withnall <pwithnall@endlessos.org>2023-02-21 11:52:24 +0000
commit13fe2e0c79810c882f26a87b861e0b6d8de81333 (patch)
tree77a66e0703c5949030f63c437382c6e919fcddc9
parent5370df540c7a3ed34b45262092b98cf816e3bd01 (diff)
downloadglib-13fe2e0c79810c882f26a87b861e0b6d8de81333.tar.gz
ci: Enable JIT debugging on msys2-* CI jobs
Suggested by Christoph Reiter, this is a workaround for random Python crashes in Meson which only appear on this platform. It’s being tracked upstream at https://github.com/msys2/MINGW-packages/issues/11864, but unfortunately it seems hard to fix. Work around the issue the same way that Meson have in their CI, by enabling JIT debugging. See https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3280#note_1678973. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4af17b1de..182b9c7a7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -325,6 +325,10 @@ msys2-mingw32:
CHERE_INVOKING: "yes"
CFLAGS: -coverage -ftest-coverage -fprofile-arcs
PYTHONUTF8: "1"
+ # FIXME: For some reason enabling jit debugging "fixes" random python crashes
+ # see https://github.com/msys2/MINGW-packages/issues/11864 and
+ # https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3280#note_1678973
+ MSYS: "winjitdebug"
script:
- C:\msys64\usr\bin\pacman --noconfirm -Syyuu --ask 20
- C:\msys64\usr\bin\bash .gitlab-ci/show-execution-environment.sh
@@ -351,6 +355,10 @@ msys2-clang64:
MSYSTEM: "CLANG64"
CHERE_INVOKING: "yes"
PYTHONUTF8: "1"
+ # FIXME: For some reason enabling jit debugging "fixes" random python crashes
+ # see https://github.com/msys2/MINGW-packages/issues/11864 and
+ # https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3280#note_1678973
+ MSYS: "winjitdebug"
script:
- C:\msys64\usr\bin\pacman --noconfirm -Syyuu --ask 20
- C:\msys64\usr\bin\bash .gitlab-ci/show-execution-environment.sh