also prepare build system before trying to use pyenv

This commit is contained in:
Sebastian Thiel
2020-04-12 14:19:45 +08:00
parent 2b0e536271
commit 8a7575d376

View File

@@ -16,9 +16,13 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Prepare build system
run: |
apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev \
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
xz-utils tk-dev libffi-dev liblzma-dev
- name: Prepare python
run: |
set -x
curl https://pyenv.run | bash
{ echo 'export PATH="$PYENV_ROOT/bin:$PATH"';
echo 'eval "$(pyenv init -)"';