From f3d1dc70f1cb0d18738bb293cc7b1bd3a2731c86 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Wed, 15 Aug 2018 21:51:42 +0200 Subject: ci: build python 2.7 and 3.7 in debug mode. Fixes #243 It contains more strict checks which might be useful for finding potential bugs. Initialize PyGILState_STATE because gcc can't figure out that state is always defined in the release case when Py_DEBUG is enabled.. Remove -Winline which is triggerd for pygobject_init() with the debug build. Not sure what to do when inlining fails, so just remove the warning for now. --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 21ce5982..3a25c6a6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: registry.gitlab.gnome.org/gnome/pygobject/main:v7 +image: registry.gitlab.gnome.org/gnome/pygobject/main:v8 stages: - build_and_test @@ -81,12 +81,12 @@ python3-mingw64: python2.7: variables: - PYENV_VERSION: "2.7.15" + PYENV_VERSION: "2.7.15-debug" <<: *defaults python3.5: variables: - PYENV_VERSION: "3.5.5" + PYENV_VERSION: "3.5.6" <<: *defaults python3.6: @@ -96,7 +96,7 @@ python3.6: python3.7: variables: - PYENV_VERSION: "3.7.0" + PYENV_VERSION: "3.7.0-debug" <<: *defaults pypy2: -- cgit v1.2.1