|
1 | | -name: Build wheels for CPython3.10 x86_64 on Ubuntu16 withb GCC-14 |
| 1 | +name: Build wheels for CPython3.10 x86_64 on Ubuntu16 with GCC-5 and treat warnings as errors |
2 | 2 |
|
3 | 3 | on: [push, pull_request] |
4 | 4 |
|
|
14 | 14 | fail-fast: false |
15 | 15 | matrix: |
16 | 16 | os: |
17 | | - - name: Ubuntu 16 amd64 CPython 3.10 |
| 17 | + - name: Ubuntu 24+16 amd64 CPython 3.10 |
18 | 18 | runs-on: ubuntu-latest |
19 | 19 | matrix: linux |
20 | 20 | arch: amd64 |
@@ -83,14 +83,14 @@ jobs: |
83 | 83 | - name: Pepare dev files |
84 | 84 | if: matrix.os.matrix == 'linux' |
85 | 85 | run: | |
86 | | - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install --no-install-recommends -y libzstd-dev file gcc-14 binutils |
| 86 | + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install --no-install-recommends -y libzstd-dev file |
87 | 87 |
|
88 | 88 | - name: Pepare for ${{matrix.os.pypkg}} ${{matrix.os.arch}} |
89 | 89 | if: matrix.os.matrix == 'linux' |
90 | 90 | run: | |
91 | 91 | sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y ${{matrix.os.pypkg}}-dev gcc pkg-config ${{matrix.os.pypkgadd}} |
92 | 92 | 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" |
93 | | - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "${{matrix.os.pypkg}} -m pip install -U 'setuptools<72.0'" |
| 93 | + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "${{matrix.os.pypkg}} -m pip install -U 'setuptools<72.0'" |
94 | 94 | |
95 | 95 | - name: Pepare source and build wheel for ${{matrix.os.pypkg}} ${{matrix.os.arch}} |
96 | 96 | if: matrix.os.matrix == 'linux' |
|
99 | 99 | version=`cat version` |
100 | 100 | sudo tar -xvf dist/zstd-$version.tar.gz -C ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/build_wheel/ |
101 | 101 | false && sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} env |
102 | | - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} gcc-14.3 -v |
| 102 | + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} gcc -v |
103 | 103 | sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} pkg-config libzstd --modversion |
104 | | - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "cd /build_wheel/zstd-$version && ZSTD_ASM=1 _ZSTD_ASM_BMI2=1 ZSTD_THREADS=1 _ZSTD_EXTERNAL=0 ${{matrix.os.pypkg}} setup.py bdist_wheel" |
| 104 | + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "cd /build_wheel/zstd-$version && ZSTD_ASM=1 _ZSTD_ASM_BMI2=1 ZSTD_THREADS=1 _ZSTD_EXTERNAL=0 ZSTD_WERRORS=1 CC=gcc CXX=g++ LD=ld ${{matrix.os.pypkg}} setup.py bdist_wheel" |
105 | 105 |
|
106 | 106 | - name: Test wheel for ${{matrix.os.pypkg}} ${{matrix.os.arch}} |
107 | 107 | if: matrix.os.matrix == 'linux' |
|
0 commit comments