Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 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
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
8 changes: 4 additions & 4 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 Ubuntu14 with GCC-4.8 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+14 i386 CPython 2.7
runs-on: ubuntu-latest
matrix: linux
arch: i386
tag_arch: i686
release: bionic
release: trusty
mirror: http://azure.archive.ubuntu.com/ubuntu
#version: 1.5.6.7
#pyver: "2.7"
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
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 Down
18 changes: 9 additions & 9 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 Ubuntu14 with GCC-4.8 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: trusty
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 @@ -92,8 +92,8 @@ jobs:
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
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=gcc-4.8 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 Down
13 changes: 6 additions & 7 deletions .github/workflows/Build_wheels_for_cpython27_x86_ext.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build wheels for CPython2.7 x86 on Ubuntu16 with GCC-5 with All warnings, test external build
name: Build wheels for CPython2.7 x86 on Ubuntu14 with GCC-4.8 with All warnings, test external build

on: [push, pull_request]

Expand All @@ -14,12 +14,12 @@ jobs:
fail-fast: false
matrix:
os:
- name: Ubuntu 24+16 i386 CPython 2.7
- name: Ubuntu 24+14 i386 CPython 2.7
runs-on: ubuntu-latest
matrix: linux
arch: i386
tag_arch: i686
release: xenial
release: trusty
mirror: http://azure.archive.ubuntu.com/ubuntu
#version: 1.5.6.7
#pyver: "2.7"
Expand Down 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