CI: Use PyPy 2.7 as PyPy source build bootstrapper

This commit is contained in:
Dan Dees 2022-12-10 22:28:31 +03:00 committed by Ivan Pozdeev
parent 18f62f266d
commit 540c94bdb1

View file

@ -40,9 +40,9 @@ jobs:
#prerequisites
brew install openssl openssl@1.1 readline sqlite3 xz zlib
if [[ "${{ matrix.python-version }}" =~ pypy.*-(src|dev) ]]; then
pyenv install 2.7.18
PYENV_VERSION=2.7.18 pip install pycparser
# brew install expat
export PYENV_BOOTSTRAP_VERSION=pypy2.7-7
echo "PYENV_BOOTSTRAP_VERSION=$PYENV_BOOTSTRAP_VERSION" >> $GITHUB_ENV
pyenv install $PYENV_BOOTSTRAP_VERSION
fi
- run: |
#build
@ -103,9 +103,9 @@ jobs:
curl llvm libncurses5-dev libncursesw5-dev \
xz-utils tk-dev libffi-dev liblzma-dev
if [[ "${{ matrix.python-version }}" =~ pypy.*-(src|dev) ]]; then
pyenv install 2.7.18
PYENV_VERSION=2.7.18 pip install pycparser
# sudo apt install -yq libexpat1-dev
export PYENV_BOOTSTRAP_VERSION=pypy2.7-7
echo "PYENV_BOOTSTRAP_VERSION=$PYENV_BOOTSTRAP_VERSION" >> $GITHUB_ENV
pyenv install $PYENV_BOOTSTRAP_VERSION
fi
- run: |
#build