Skip to content

Commit 2a3fd15

Browse files
committed
Update ttt.yml
1 parent 59947e8 commit 2a3fd15

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/ttt.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,23 @@ jobs:
3131
with:
3232
arch: none
3333
distro: none
34-
base_image: "--platform=linux/aarch64 ubuntu:20.04"
34+
base_image: "--platform=linux/aarch64 ubuntu:22.04"
3535
githubToken: ${{ github.token }}
3636
dockerRunArgs: |
3737
--volume "${PWD}/dist:/artifacts"
3838
install: |
3939
apt-get update
40-
apt-get install -y --no-install-recommends software-properties-common curl git gcc
41-
curl -fsSL https://pyenv.run | bash
42-
export PATH="$HOME/.pyenv/bin:$PATH"
43-
eval "$(pyenv init --path)"
44-
pyenv install ${{ matrix.python-version }}
45-
pyenv global ${{ matrix.python-version }}
40+
apt-get install -y --no-install-recommends software-properties-common curl
41+
add-apt-repository ppa:deadsnakes/ppa
42+
apt update
43+
apt-get install -y python${{ matrix.python-version }}-venv
4644
run: |
4745
ls -lrth /artifacts
48-
pip install -U pip
49-
pip install longport --no-index --find-links /artifacts --force-reinstall
50-
python -c 'import longport'
46+
PYTHON=python${{ matrix.python-version }}
47+
$PYTHON -m venv venv
48+
venv/bin/pip install -U pip
49+
venv/bin/pip install longport --no-index --find-links /artifacts --force-reinstall
50+
venv/bin/python -c 'import longport'
5151
- name: Upload wheels
5252
uses: actions/upload-artifact@v4
5353
with:

0 commit comments

Comments
 (0)