ubuntu
This commit is contained in:
parent
ab07564824
commit
756de86c44
1 changed files with 12 additions and 10 deletions
22
.github/workflows/release.yaml
vendored
22
.github/workflows/release.yaml
vendored
|
|
@ -105,7 +105,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
arch: [ "aarch64", "armv7", "armv6" ]
|
arch: [ "aarch64", "armv7" ]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Write version to init file
|
- name: Write version to init file
|
||||||
|
|
@ -116,7 +116,7 @@ jobs:
|
||||||
id: runcmd
|
id: runcmd
|
||||||
with:
|
with:
|
||||||
arch: ${{ matrix.arch }}
|
arch: ${{ matrix.arch }}
|
||||||
distro: buster
|
distro: ubuntu18.04
|
||||||
|
|
||||||
# Mount the artifacts directory as /artifacts in the container
|
# Mount the artifacts directory as /artifacts in the container
|
||||||
dockerRunArgs: |
|
dockerRunArgs: |
|
||||||
|
|
@ -124,16 +124,18 @@ jobs:
|
||||||
|
|
||||||
# Set an output parameter `uname` for use in subsequent steps
|
# Set an output parameter `uname` for use in subsequent steps
|
||||||
run: |
|
run: |
|
||||||
apt-get update -y
|
# apt-get update -y
|
||||||
apt-get install -y wget build-essential gcc g++ libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev openssl python3-distutils python3-distutils-extra python3-setuptools curl
|
# apt-get install -y wget build-essential gcc g++ libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev openssl python3-distutils python3-distutils-extra python3-setuptools curl
|
||||||
wget https://www.python.org/ftp/python/3.10.10/Python-3.10.10.tar.xz
|
# wget https://www.python.org/ftp/python/3.10.10/Python-3.10.10.tar.xz
|
||||||
tar -xf Python-3.10.10.tar.xz
|
# tar -xf Python-3.10.10.tar.xz
|
||||||
cd Python-3.10.10 && ./configure --prefix=/usr/local --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"
|
# cd Python-3.10.10 && ./configure --prefix=/usr/local --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"
|
||||||
make -j 8
|
# make -j 8
|
||||||
make altinstall
|
# make altinstall
|
||||||
|
add-apt-repository ppa:deadsnakes/ppa
|
||||||
|
apt-get update
|
||||||
|
apt-get install python3.10
|
||||||
python3.10 --version
|
python3.10 --version
|
||||||
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10
|
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10
|
||||||
python3.10 -m pip --version
|
|
||||||
python3.10 -m pip install --upgrade pip
|
python3.10 -m pip install --upgrade pip
|
||||||
python3.10 -m pip install -e .
|
python3.10 -m pip install -e .
|
||||||
python3.10 -m pip install pyinstaller
|
python3.10 -m pip install pyinstaller
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue