diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2023-01-27 16:13:26 +0100 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2023-01-27 16:14:43 +0100 |
commit | 36dc79774142ebfc353b53a7fc20d98ef4e454a5 (patch) | |
tree | 33c52a16d96cc87638e417e13824e5e8ca460f02 /.gitlab-ci | |
parent | c57bd80c07a4f846c4ebcc55dcd10f629319c0be (diff) | |
download | pygobject-36dc79774142ebfc353b53a7fc20d98ef4e454a5.tar.gz |
CI: Add Python 3.11 and update other Python installs
Diffstat (limited to '.gitlab-ci')
-rw-r--r-- | .gitlab-ci/Dockerfile | 12 | ||||
-rwxr-xr-x | .gitlab-ci/run-docker.sh | 4 |
2 files changed, 9 insertions, 7 deletions
diff --git a/.gitlab-ci/Dockerfile b/.gitlab-ci/Dockerfile index 9a950083..5883d913 100644 --- a/.gitlab-ci/Dockerfile +++ b/.gitlab-ci/Dockerfile @@ -20,6 +20,7 @@ RUN apt-get update && apt-get install -y \ libreadline-dev \ libsqlite3-dev \ libssl-dev \ + liblzma-dev \ ninja-build \ python3-pip \ xauth \ @@ -41,10 +42,11 @@ ENV PYTHON_CONFIGURE_OPTS="--enable-shared" RUN curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash -RUN pyenv install pypy3.8-7.3.8 -RUN pyenv install --debug 3.7.13 -RUN pyenv install --debug 3.8.13 -RUN pyenv install --debug 3.9.12 -RUN pyenv install --debug 3.10.4 +RUN pyenv install pypy3.8-7.3.11 +RUN pyenv install --debug 3.7.16 +RUN pyenv install --debug 3.8.16 +RUN pyenv install --debug 3.9.16 +RUN pyenv install --debug 3.10.9 +RUN pyenv install --debug 3.11.1 ENV PATH="/usr/lib/ccache:${PATH}" diff --git a/.gitlab-ci/run-docker.sh b/.gitlab-ci/run-docker.sh index 5ad020e9..cf30c2d3 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:v18" +TAG="registry.gitlab.gnome.org/gnome/pygobject/main:v19" sudo docker build --build-arg HOST_USER_ID="$UID" --tag "${TAG}" \ --file "Dockerfile" . -sudo docker run -e PYENV_VERSION='3.8.13-debug' --rm --security-opt label=disable \ +sudo docker run -e PYENV_VERSION='3.8.16-debug' --rm --security-opt label=disable \ --volume "$(pwd)/..:/home/user/app" --workdir "/home/user/app" \ --tty --interactive "${TAG}" bash |