Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
9db851d
Back to Ubuntu16 for cpython3.13, disable deadsnakes
sergey-dryabzhinsky Jan 31, 2026
49fd5e4
fix action name, release
sergey-dryabzhinsky Jan 31, 2026
fd25267
Its like x86 build uses only libc 2.4+ symbols
sergey-dryabzhinsky Feb 1, 2026
294785c
For cpython3.12 x86 libc tag is 2.4
sergey-dryabzhinsky Feb 3, 2026
8acece4
Libc for cpython3.13 x86 needed 2.4+
sergey-dryabzhinsky Feb 3, 2026
a9a5cc4
Libc for cpython3.14(-nogil) x86 needed 2.4+
sergey-dryabzhinsky Feb 3, 2026
54de824
Libc for cpython3.15(-nogil) x86 needed 2.4+
sergey-dryabzhinsky Feb 3, 2026
3f0e881
Use bionic, libc tag 2_14 for amd64
sergey-dryabzhinsky Feb 10, 2026
8192d2a
Skip cpython3.6/3.8 build for windows as it fails for unknown reason,…
sergey-dryabzhinsky Feb 10, 2026
f6581c6
Update actions for cpython2.7
sergey-dryabzhinsky Feb 12, 2026
c217550
Switch to Ubuntu14 for cpython2.7 builds
sergey-dryabzhinsky Feb 13, 2026
c314a05
Exclude builds windows+cp36,cp38
sergey-dryabzhinsky Feb 13, 2026
39d5f08
Build wheels for python3.15 on Ubuntu18
sergey-dryabzhinsky Mar 9, 2026
c9eacdd
Build wheels for python3.14 on Ubuntu18
sergey-dryabzhinsky Mar 9, 2026
92641b4
Try to use aptitude
sergey-dryabzhinsky Mar 9, 2026
5ef5d6e
Fix typo
sergey-dryabzhinsky Mar 9, 2026
5961ded
Use more aptitude
sergey-dryabzhinsky Mar 9, 2026
08139a3
Build wheel for python3.13 on ubuntu18 and try to publish release whe…
sergey-dryabzhinsky Apr 22, 2026
b0f1e5a
Fix typo
sergey-dryabzhinsky May 14, 2026
3fbe792
fix typo: wrong gcc version, enable werror
sergey-dryabzhinsky May 20, 2026
5b64cf7
Fix cores cache
sergey-dryabzhinsky Jun 2, 2026
370c7ff
Back to Ubuntu16 for cypthon2.7 x86
sergey-dryabzhinsky Jun 2, 2026
cb9ef4f
Add script for checking SIMD instructions for #320
sergey-dryabzhinsky Jun 4, 2026
844397c
Test simd check for build cython2.7 i686
sergey-dryabzhinsky Jun 4, 2026
6081d30
simplify name
sergey-dryabzhinsky Jun 4, 2026
43142c5
for #320: add test for simd for cython2.7 amd64
sergey-dryabzhinsky Jun 4, 2026
154704f
Enable rusoft ppa for cython2.7 x86
sergey-dryabzhinsky Jun 5, 2026
788ccf6
output cpuinfo
sergey-dryabzhinsky Jun 5, 2026
6c0a45f
rename action yamls, fix url for 3.9 pip
sergey-dryabzhinsky Jun 5, 2026
a4f1aa4
Add new script to check actual cpu flags
sergey-dryabzhinsky Jun 5, 2026
e292c8a
Add new script to check simd instructions supported by cpu
sergey-dryabzhinsky Jun 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 18 additions & 10 deletions .github/workflows/Build_wheels_for_cpython27_x86.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build wheels for CPython2.7 x86 on Ubuntu18 with GCC-7 with All warnings
name: Build wheels for CPython2.7 x86 on Ubuntu16 with GCC-5 with All warnings

on: [push, pull_request]

Expand All @@ -14,12 +14,12 @@ jobs:
fail-fast: false
matrix:
os:
- name: Ubuntu 24+18 i386 CPython 2.7
- name: Ubuntu 24+16 i386 CPython 2.7
runs-on: ubuntu-latest
matrix: linux
arch: i386
tag_arch: i686
release: bionic
release: xenial
mirror: http://azure.archive.ubuntu.com/ubuntu
#version: 1.5.6.7
#pyver: "2.7"
Expand Down Expand Up @@ -63,9 +63,9 @@ jobs:
sudo mount none ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/proc -t proc
sudo mount none ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/dev/pts -t devpts
sudo mount none ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/sys -t sysfs
echo "# deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/python ubuntu-${{matrix.os.release}} main" > rusoft-python.list
echo "# deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/backports ubuntu-${{matrix.os.release}} main" > rusoft-backports.list
echo "# deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/packages ubuntu-${{matrix.os.release}} main" > rusoft-packages.list
echo " deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/python ubuntu-${{matrix.os.release}} main" > rusoft-python.list
echo " deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/backports ubuntu-${{matrix.os.release}} main" > rusoft-backports.list
echo " deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/packages ubuntu-${{matrix.os.release}} main" > rusoft-packages.list
echo "# deb [trusted=yes] http://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu ${{matrix.os.release}} main" > deadsnakes.list
echo "# deb [trusted=yes] http://apt.llvm.org/${{matrix.os.release}}/ llvm-toolchain-${{matrix.os.release}}-20 main " > clang.list

Expand All @@ -85,14 +85,14 @@ jobs:
- name: Pepare dev files
if: matrix.os.matrix == 'linux'
run: |
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y libzstd-dev
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y python3

- name: Pepare for ${{matrix.os.pypkg}} ${{matrix.os.arch}}
if: matrix.os.matrix == 'linux'
run: |
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install --no-install-recommends -y ${{matrix.os.pypkg}}-dev gcc pkg-config ${{matrix.os.pypkgadd}}
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "wget ${{matrix.os.getpipurl}} -O get-pip.py && ${{matrix.os.pypkg}} get-pip.py"
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "${{matrix.os.pypkg}} -m pip install -U 'setuptools'"
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "${{matrix.os.pypkg}} -m pip install -U 'setuptools<72'"

- name: Pepare source and build wheel for ${{matrix.os.pypkg}} ${{matrix.os.arch}}
if: matrix.os.matrix == 'linux'
Expand All @@ -111,13 +111,22 @@ jobs:
- name: Test wheel for ${{matrix.os.pypkg}} ${{matrix.os.arch}}
if: matrix.os.matrix == 'linux'
run: |
false && sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} find /build_wheel/
version=`cat version`
echo version=$version
sudo cp -v glibc-check.sh ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/build_wheel/zstd-$version/
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "cd /build_wheel/zstd-$version/ ; echo LLH; ls -lh build/*/zstd.so; echo LDD; ldd build/*/zstd.so;echo FILE; file build/*/zstd.so; echo LIBC; bash ./glibc-check.sh build/*/zstd.so"
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "cd /build_wheel/zstd-$version && ${{matrix.os.pypkg}} setup.py test"

- name: Test module for SIMD instructions
if: matrix.os.matrix == 'linux'
run: |
version=`cat version`
echo version=$version
echo cpuinfo
./simd-cklheck-cpuinfo.py
sudo cp -v simd-check ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/build_wheel/zstd-$version/
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "cd /build_wheel/zstd-$version/ ; echo LLH; ls -lh build/*/zstd.so; echo SIMD; bash ./simd-check build/*/zstd.so"

- name: Pepare wheel for upload
if: matrix.os.matrix == 'linux'
run: |
Expand All @@ -127,7 +136,6 @@ jobs:
sudo ls -lh ./dist/*
sudo mv -v ./dist/"zstd-$version-${{matrix.os.pyengine_tag}}-linux_${{matrix.os.tag_arch}}.whl" ./dist/"zstd-$version-${{matrix.os.pyengine_tag}}-${{matrix.os.libc_tag}}_${{matrix.os.tag_arch}}.whl"


- name: Test for secrets access
id: check_secrets
# If a third party makes a pull request
Expand Down
38 changes: 20 additions & 18 deletions .github/workflows/Build_wheels_for_cpython27_x86_64.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build wheels for CPython2.7 x64 on Ubuntu18 with GCC-7 with All warnings
name: Build wheels for CPython2.7 x64 on Ubuntu16 with GCC-5 with All warnings

on: [push, pull_request]

Expand All @@ -14,19 +14,19 @@ jobs:
fail-fast: false
matrix:
os:
- name: Ubuntu 24+16 amd64 CPython 2.7
- name: Ubuntu 24+14 amd64 CPython 2.7
runs-on: ubuntu-latest
matrix: linux
arch: amd64
tag_arch: x86_64
release: bionic
release: xenial
mirror: http://azure.archive.ubuntu.com/ubuntu
#version: 1.5.6.7
#pyver: "2.7"
getpipurl: https://bootstrap.pypa.io/pip/2.7/get-pip.py
pypkg: python2.7
pyengine_tag: cp27-cp27mu
libc_tag: manylinux_2_4
libc_tag: manylinux_2_14
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -85,15 +85,15 @@ jobs:
- name: Pepare dev files
if: matrix.os.matrix == 'linux'
run: |
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y libzstd-dev
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y python3

- name: Pepare for ${{matrix.os.pypkg}} ${{matrix.os.arch}}
if: matrix.os.matrix == 'linux'
run: |
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y ${{matrix.os.pypkg}}-dev gcc pkg-config ${{matrix.os.pypkgadd}}
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "wget ${{matrix.os.getpipurl}} -O get-pip.py && ${{matrix.os.pypkg}} get-pip.py || true"
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "${{matrix.os.pypkg}} -m pip install -U 'setuptools'"
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "${{matrix.os.pypkg}} -m pip install -U 'setuptools<72'"

- name: Pepare source and build wheel for ${{matrix.os.pypkg}} ${{matrix.os.arch}}
if: matrix.os.matrix == 'linux'
run: |
Expand All @@ -102,9 +102,9 @@ jobs:
sudo tar -xvf dist/zstd-$version.tar.gz -C ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/build_wheel/
false && sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} env
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} pkg-config libzstd --modversion
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} echo GCC-7
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} gcc-7 -v
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "cd /build_wheel/zstd-$version && CC=gcc-7 ZSTD_ASM=1 _ZSTD_SMALL=1 ZSTD_WARNINGS=1 _ZSTD_WERRORS=1 _ZSTD_ASM_BMI2=1 ZSTD_THREADS=1 _ZSTD_EXTERNAL=1 ${{matrix.os.pypkg}} setup.py bdist_wheel"
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} echo GCC-5
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} gcc-5 -v
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "cd /build_wheel/zstd-$version && CC=gcc-5 ZSTD_ASM=1 _ZSTD_SMALL=1 ZSTD_WARNINGS=1 ZSTD_WERRORS=1 _ZSTD_ASM_BMI2=1 ZSTD_THREADS=1 _ZSTD_EXTERNAL=1 ${{matrix.os.pypkg}} setup.py bdist_wheel"

- name: Test wheel for ${{matrix.os.pypkg}} ${{matrix.os.arch}}
if: matrix.os.matrix == 'linux'
Expand All @@ -122,15 +122,17 @@ jobs:
sudo cp -v ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/build_wheel/zstd-$version/dist/* ./dist
sudo ls -lh ./dist/*
sudo mv -v ./dist/"zstd-$version-${{matrix.os.pyengine_tag}}-linux_${{matrix.os.tag_arch}}.whl" ./dist/"zstd-$version-${{matrix.os.pyengine_tag}}-${{matrix.os.libc_tag}}_${{matrix.os.tag_arch}}.whl"


# - name: Upload artifacts
# uses: actions/upload-artifact@v4
# with:
# name: wheels
#. path: ./dist
# compression-level: 0

- name: Test module for SIMD instructions
if: matrix.os.matrix == 'linux'
run: |
version=`cat version`
echo version=$version
echo cpuinfo
./simd-check-cpuinfo.py
sudo cp -v simd-check ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/build_wheel/zstd-$version/
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash-c "cd /build_wheel/zstd-$version/ ; echo LLH; ls -lh build/*/zstd.so; echo SIMD; bash ./simd-check build/*/zstd.so"

- name: Test for secrets access
id: check_secrets
# If a third party makes a pull request
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/Build_wheels_for_cpython27_x86_ext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,9 @@ jobs:
- name: Pepare for ${{matrix.os.pypkg}} ${{matrix.os.arch}}
if: matrix.os.matrix == 'linux'
run: |
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt-cache madison clang-18
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y ${{matrix.os.pypkg}}-dev gcc pkg-config ${{matrix.os.pypkgadd}}
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "wget ${{matrix.os.getpipurl}} -O get-pip.py && ${{matrix.os.pypkg}} get-pip.py"
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "${{matrix.os.pypkg}} -m pip install -U 'setuptools'"
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "${{matrix.os.pypkg}} -m pip install -U 'setuptools<72'"

- name: Pepare source and build wheel for ${{matrix.os.pypkg}} ${{matrix.os.arch}}
if: matrix.os.matrix == 'linux'
Expand All @@ -103,8 +102,8 @@ jobs:
false && sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} env

sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} pkg-config libzstd --modversion
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} echo GCC-5
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} gcc-5 -v
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} echo GCC
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} gcc -v
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "cd /build_wheel/zstd-$version && _CC=clang-20 ZSTD_ASM=1 ZSTD_WARNINGS=1 ZSTD_WERRORS=1 _ZSTD_SMALL=1 _ZSTD_ASM_BMI2=1 ZSTD_THREADS=1 ZSTD_EXTERNAL=1 CC=gcc-5 ${{matrix.os.pypkg}} setup.py bdist_wheel "

- name: Test wheel for ${{matrix.os.pypkg}} ${{matrix.os.arch}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Build_wheels_for_cpython312_x86_u16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
getpipurl: https://bootstrap.pypa.io/pip/get-pip.py
pypkg: python3.12
pyengine_tag: cp312-cp312
libc_tag: manylinux_2_14
libc_tag: manylinux_2_4
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build wheels for CPython3.13 x86_64 on Ubuntu22 with GCC-10 All warnings
name: Build wheels for CPython3.13 x86_64 on Ubuntu18 with GCC-7 All warnings

on: [push, pull_request]

Expand All @@ -14,12 +14,12 @@ jobs:
fail-fast: false
matrix:
os:
- name: Ubuntu 24+20 amd64 CPython 3.13
- name: Ubuntu 24+18 amd64 CPython 3.13
runs-on: ubuntu-latest
matrix: linux
arch: amd64
tag_arch: x86_64
release: jammy
release: bionic
mirror: http://azure.archive.ubuntu.com/ubuntu
getpipurl: https://bootstrap.pypa.io/pip/get-pip.py
pypkg: python3.13
Expand Down Expand Up @@ -61,14 +61,12 @@ jobs:
sudo mount none ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/proc -t proc
sudo mount none ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/dev/pts -t devpts
sudo mount none ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/sys -t sysfs
echo "# deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/python ubuntu-${{matrix.os.release}} main" > rusoft-python.list
echo "# deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/backports ubuntu-${{matrix.os.release}} main" > rusoft-backports.list
echo "# deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/packages ubuntu-${{matrix.os.release}} main" > rusoft-packages.list
echo " deb [trusted=yes] http://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu ${{matrix.os.release}} main" > deadsnakes.list
false && sudo find ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} -iname apt
echo " deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/python ubuntu-${{matrix.os.release}} main" > rusoft-python.list
echo " deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/backports ubuntu-${{matrix.os.release}} main" > rusoft-backports.list
echo " deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/packages ubuntu-${{matrix.os.release}} main" > rusoft-packages.list
echo "# deb [trusted=yes] http://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu ${{matrix.os.release}} main" > deadsnakes.list
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt update
sudo cp -v ./*.list ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/etc/apt/sources.list.d
false && sudo rm -fv ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/etc/apt/trusted.gpg.d/* && sudo rm -fv ./ubuntu-xenial-x86/etc/apt/trusted.gpg
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c 'cd /etc/apt/trusted.gpg.d && wget http://packages.rusoft.ru/apt/public.gpg -Orusoft.gpg'
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c 'cd /etc/apt/trusted.gpg.d && wget http://packages.rusoft.ru/apt/public-old.gpg -Orusoft-old.gpg'
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c 'apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys A2CE4BCCC50209DD || true'
Expand Down Expand Up @@ -167,3 +165,14 @@ jobs:
TWINE_PASSWORD: "${{ secrets.test_pypi_password }}"
run: twine upload --non-interactive --skip-existing --verbose 'dist/*'

- name: Create Release and Upload Assets
if: >
startsWith(github.event.ref, 'refs/tags') &&
steps.check_secrets.outputs.HAS_SECRET
# This uses a community action for creating and uploading to a release
uses: softprops/action-gh-release@v1
with:
files: dist/*.whl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# The default GITHUB_TOKEN has sufficient permissions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build wheels for CPython3.13 x86 on Ubuntu16 with GCC-5 All warnings
name: Build wheels for CPython3.13 x86 on Ubuntu18 with GCC-7 All warnings

on: [push, pull_request]

Expand All @@ -14,17 +14,17 @@ jobs:
fail-fast: false
matrix:
os:
- name: Ubuntu 24+16 x86 CPython 3.13
- name: Ubuntu 24+18 x86 CPython 3.13
runs-on: ubuntu-latest
matrix: linux
arch: i386
tag_arch: i686
release: xenial
release: bionic
mirror: http://azure.archive.ubuntu.com/ubuntu
getpipurl: https://bootstrap.pypa.io/pip/get-pip.py
pypkg: python3.13
pyengine_tag: cp313-cp313
libc_tag: manylinux_2_14
libc_tag: manylinux_2_4
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -66,7 +66,6 @@ jobs:
echo "# deb [trusted=yes] http://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu ${{matrix.os.release}} main" > deadsnakes.list
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt update
sudo cp -v ./*.list ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/etc/apt/sources.list.d
false && sudo rm -fv ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/etc/apt/trusted.gpg.d/* && sudo rm -fv ./ubuntu-xenial-x86/etc/apt/trusted.gpg
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c 'cd /etc/apt/trusted.gpg.d && wget http://packages.rusoft.ru/apt/public.gpg -Orusoft.gpg'
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c 'cd /etc/apt/trusted.gpg.d && wget http://packages.rusoft.ru/apt/public-old.gpg -Orusoft-old.gpg'
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c 'apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys A2CE4BCCC50209DD || true'
Expand Down Expand Up @@ -165,3 +164,14 @@ jobs:
TWINE_PASSWORD: "${{ secrets.test_pypi_password }}"
run: twine upload --non-interactive --skip-existing --verbose 'dist/*'

- name: Create Release and Upload Assets
if: >
startsWith(github.event.ref, 'refs/tags') &&
steps.check_secrets.outputs.HAS_SECRET
# This uses a community action for creating and uploading to a release
uses: softprops/action-gh-release@v1
with:
files: dist/*.whl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# The default GITHUB_TOKEN has sufficient permissions
Loading
Loading