diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2023-02-08 18:34:09 -0500 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2023-02-08 18:52:28 -0500 |
commit | d0b39a6872719756e77523dc60dbce94470ecba8 (patch) | |
tree | 9d965b2fa2e7411630d93c8ba58c8c40151f48bd /ci | |
parent | c07269dcba1c56a7cf4594629a344c5f9220daef (diff) | |
download | meson-d0b39a6872719756e77523dc60dbce94470ecba8.zip meson-d0b39a6872719756e77523dc60dbce94470ecba8.tar.gz meson-d0b39a6872719756e77523dc60dbce94470ecba8.tar.bz2 |
CI: migrate pypy3 tests from bionic to Arch
The bionic image is really old and mainly exists to test that Meson
itself still works on really old distros (and really old python).
Ideally we'd avoid depending too much on it.
We can get a very modern pypy3 automatically this way, and potentially
use it for more stuff too.
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/ciimage/arch/install.sh | 2 | ||||
-rwxr-xr-x | ci/ciimage/bionic/install.sh | 16 |
2 files changed, 1 insertions, 17 deletions
diff --git a/ci/ciimage/arch/install.sh b/ci/ciimage/arch/install.sh index 30259cf..6f33145 100755 --- a/ci/ciimage/arch/install.sh +++ b/ci/ciimage/arch/install.sh @@ -7,7 +7,7 @@ source /ci/common.sh # Inspired by https://github.com/greyltc/docker-archlinux-aur/blob/master/add-aur.sh pkgs=( - python python-pip + python python-pip pypy3 ninja make git sudo fakeroot autoconf automake patch libelf gcc gcc-fortran gcc-objc vala rust bison flex cython go dlang-dmd mono boost qt5-base gtkmm3 gtest gmock protobuf gobject-introspection diff --git a/ci/ciimage/bionic/install.sh b/ci/ciimage/bionic/install.sh index 63f6512..23e0774 100755 --- a/ci/ciimage/bionic/install.sh +++ b/ci/ciimage/bionic/install.sh @@ -58,22 +58,6 @@ update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 2 \ python3 -m pip install -U "${base_python_pkgs[@]}" "${python_pkgs[@]}" -pushd /opt -# Download and install PyPy3.8, and link it to /usr/bin/pypy3 -# At some point it would be more robust to download and parse -# https://downloads.python.org/pypy/versions.json -wget https://downloads.python.org/pypy/pypy3.8-v7.3.9-linux64.tar.bz2 -pypy_sha256="08be25ec82fc5d23b78563eda144923517daba481a90af0ace7a047c9c9a3c34" -if [ $pypy_sha256 != $(sha256sum pypy3.8-v7.3.9-linux64.tar.bz2 | cut -f1 -d" ") ]; then - echo bad sha256 for PyPy - exit -1 -fi -tar -xf pypy3.8-v7.3.9-linux64.tar.bz2 -pypy3.8-v7.3.9-linux64/bin/pypy3 -m ensurepip -popd -ln -s /opt/pypy3.8-v7.3.9-linux64/bin/pypy3 /usr/bin/pypy3 - - # Install the ninja 0.10 wget https://github.com/ninja-build/ninja/releases/download/v1.10.0/ninja-linux.zip unzip ninja-linux.zip -d /ci |