From 756de86c44e0462fa1ba4712f24e8d43b269830e Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Thu, 23 Feb 2023 22:14:40 -0800 Subject: [PATCH] ubuntu --- .github/workflows/release.yaml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d9895b7d..285b15af 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -105,7 +105,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - arch: [ "aarch64", "armv7", "armv6" ] + arch: [ "aarch64", "armv7" ] steps: - uses: actions/checkout@v3 - name: Write version to init file @@ -116,7 +116,7 @@ jobs: id: runcmd with: arch: ${{ matrix.arch }} - distro: buster + distro: ubuntu18.04 # Mount the artifacts directory as /artifacts in the container dockerRunArgs: | @@ -124,16 +124,18 @@ jobs: # Set an output parameter `uname` for use in subsequent steps run: | - 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 - wget https://www.python.org/ftp/python/3.10.10/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" - make -j 8 - make altinstall +# 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 +# wget https://www.python.org/ftp/python/3.10.10/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" +# make -j 8 +# make altinstall + add-apt-repository ppa:deadsnakes/ppa + apt-get update + apt-get install python3.10 python3.10 --version 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 -e . python3.10 -m pip install pyinstaller