summaryrefslogtreecommitdiff
path: root/.gitlab-ci/run-docker.sh
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-08-15 21:51:42 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2018-08-16 09:16:39 +0200
commitf3d1dc70f1cb0d18738bb293cc7b1bd3a2731c86 (patch)
tree479ae37475771afd7dc4dc3ac81044dc139a5334 /.gitlab-ci/run-docker.sh
parenta7dec0cc0e3b4bb07555581ed9d0f5b6752c3056 (diff)
downloadpygobject-f3d1dc70f1cb0d18738bb293cc7b1bd3a2731c86.tar.gz
ci: build python 2.7 and 3.7 in debug mode. Fixes #243ci-debug-build
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.
Diffstat (limited to '.gitlab-ci/run-docker.sh')
-rwxr-xr-x.gitlab-ci/run-docker.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci/run-docker.sh b/.gitlab-ci/run-docker.sh
index f80312da..bcfd7075 100755
--- a/.gitlab-ci/run-docker.sh
+++ b/.gitlab-ci/run-docker.sh
@@ -2,10 +2,10 @@
set -e
-TAG="registry.gitlab.gnome.org/gnome/pygobject/main:v7"
+TAG="registry.gitlab.gnome.org/gnome/pygobject/main:v8"
sudo docker build --build-arg HOST_USER_ID="$UID" --tag "${TAG}" \
--file "Dockerfile" .
-sudo docker run -e PYENV_VERSION='3.6.6' --rm --security-opt label=disable \
+sudo docker run -e PYENV_VERSION='3.7.0-debug' --rm --security-opt label=disable \
--volume "$(pwd)/..:/home/user/app" --workdir "/home/user/app" \
--tty --interactive "${TAG}" bash