Skip to content

Commit a8ce757

Browse files
Update Build_wheels_for_cpython311_x86_64.yml
1 parent e0f3e4a commit a8ce757

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/Build_wheels_for_cpython311_x86_64.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build wheels for CPython3.10 x86_64
1+
name: Build wheels for CPython3.11 x86_64
22

33
on: [push, pull_request]
44

@@ -14,19 +14,19 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
os:
17-
- name: Ubuntu 24+16 amd64 CPython 3.10
17+
- name: Ubuntu 24+20 amd64 CPython 3.11
1818
runs-on: ubuntu-latest
1919
matrix: linux
2020
arch: amd64
2121
tag_arch: x86_64
22-
release: xenial
22+
release: focal
2323
mirror: http://azure.archive.ubuntu.com/ubuntu
2424
version: 1.5.6.3
25-
pyver: "3.10"
25+
pyver: "3.11"
2626
getpipurl: https://bootstrap.pypa.io/pip/get-pip.py
27-
pypkg: python3.10
28-
pypkgadd: python3.10-distutils
29-
pyengine_tag: cp310-cp310
27+
pypkg: python3.11
28+
pypkgadd: python3.11-distutils
29+
pyengine_tag: cp311-cp311
3030
libc_tag: manylinux_2_17
3131
steps:
3232
- name: Checkout code
@@ -105,6 +105,8 @@ jobs:
105105
- name: Test wheel for ${{matrix.os.pypkg}} ${{matrix.os.arch}}
106106
if: matrix.os.matrix == 'linux'
107107
run: |
108+
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} find /build_wheel/
109+
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "cd /build_wheel/zstd-${{matrix.os.version}}/ ls -lh build/*/zstd.so; ldd build/*/zstd.so; wget https://gist.githubusercontent.com/fasterthanlime/17e002a8f5e0f189861c/raw/09e8866f1df83a51aa579e7dc425405ce93be7ab/glibc-check.sh; bash ./glibc-check.sh build/*/zstd.so"
108110
sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "cd /build_wheel/zstd-${{matrix.os.version}} && python${{matrix.os.pyver}} setup.py test"
109111
110112
- name: Pepare wheel for upload

0 commit comments

Comments
 (0)