aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2022-04-11 23:41:39 +0300
committerEli Schwartz <eschwartz93@gmail.com>2022-04-12 06:58:04 -0400
commitc003c49311994f2899b14a699757433fa384c817 (patch)
tree54a61b7289ff328f4340a9b5b1afcefb89db0e31
parenta9b63ff76fb823598a56fd9d9add4765dd0fb809 (diff)
downloadmeson-c003c49311994f2899b14a699757433fa384c817.zip
meson-c003c49311994f2899b14a699757433fa384c817.tar.gz
meson-c003c49311994f2899b14a699757433fa384c817.tar.bz2
add pypy3 to msys2 CI run
-rw-r--r--.github/workflows/msys2.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/msys2.yml b/.github/workflows/msys2.yml
index 4ba435e..b49cd70 100644
--- a/.github/workflows/msys2.yml
+++ b/.github/workflows/msys2.yml
@@ -65,6 +65,8 @@ jobs:
git
mercurial
lcov
+ wget
+ unzip
mingw-w64-${{ matrix.MSYS2_ARCH }}-cmake
mingw-w64-${{ matrix.MSYS2_ARCH }}-glib2
mingw-w64-${{ matrix.MSYS2_ARCH }}-libxml2
@@ -81,8 +83,26 @@ jobs:
run: |
python3 -m pip --disable-pip-version-check install gcovr jsonschema pefile pytest pytest-subtests pytest-xdist coverage codecov
+ - name: Install pypy3 on x86_64
+ run: |
+ mkdir pypy3local
+ pushd pypy3local
+ wget -nv https://downloads.python.org/pypy/pypy3.8-v7.3.9-win64.zip
+ unzip pypy3.8-v7.3.9-win64.zip
+ mv pypy3.8-v7.3.9-win64/* ./
+ popd
+ if: ${{ matrix.MSYS2_ARCH == 'x86_64' }}
+
- name: Run Tests
run: |
+ if [[ "${{ matrix.MSYS2_ARCH }}" == "x86_64" ]]; then
+ # There apparently is no clean way to add to the PATH in the
+ # previous step?
+ # See for instance https://github.com/msys2/setup-msys2/issues/171
+ export PATH=$PATH:$PWD/pypy3local
+ # Make sure it is on the PATH
+ pypy3 -c "import sys; print(sys.version)"
+ fi
export BOOST_ROOT=
export PATHEXT="$PATHEXT;.py"