Investigating build failure of ppc64le and s390x

This commit is contained in:
laggykiller 2025-02-09 23:24:10 +08:00
parent 994e7a22e0
commit 5d15ff6033
No known key found for this signature in database

View file

@ -6,7 +6,7 @@ on:
jobs: jobs:
prepare-sqlite: prepare-sqlite:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -28,7 +28,7 @@ jobs:
build-sdist: build-sdist:
needs: prepare-sqlite needs: prepare-sqlite
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -49,7 +49,7 @@ jobs:
- name: Test sdist - name: Test sdist
run: | run: |
python -m pip install dist/sqlcipher3-wheels-*.tar.gz python -m pip install dist/sqlcipher3_wheels-*.tar.gz
mv sqlcipher3 sqlcipher3_ && mv sqlcipher3 sqlcipher3_ &&
python -m unittest && python -m unittest &&
mv sqlcipher3_ sqlcipher3 mv sqlcipher3_ sqlcipher3
@ -65,11 +65,11 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
- os: ubuntu-latest - os: ubuntu-20.04
cibw_archs: x86_64 cibw_archs: x86_64
cibw_build: "cp*-manylinux_*" cibw_build: "cp*-manylinux_*"
compile_target: x86_64 compile_target: x86_64
- os: ubuntu-latest - os: ubuntu-20.04
cibw_archs: x86_64 cibw_archs: x86_64
cibw_build: "cp*-musllinux_*" cibw_build: "cp*-musllinux_*"
compile_target: x86_64 compile_target: x86_64
@ -81,27 +81,27 @@ jobs:
cibw_archs: aarch64 cibw_archs: aarch64
cibw_build: "cp*-musllinux_*" cibw_build: "cp*-musllinux_*"
compile_target: armv8 compile_target: armv8
- os: ubuntu-latest - os: ubuntu-20.04
cibw_archs: i686 cibw_archs: i686
cibw_build: "cp*-manylinux_*" cibw_build: "cp*-manylinux_*"
compile_target: x86 compile_target: x86
- os: ubuntu-latest - os: ubuntu-20.04
cibw_archs: i686 cibw_archs: i686
cibw_build: "cp*-musllinux_*" cibw_build: "cp*-musllinux_*"
compile_target: x86 compile_target: x86
- os: ubuntu-latest - os: ubuntu-20.04
cibw_archs: ppc64le cibw_archs: ppc64le
cibw_build: "cp*-manylinux_*" cibw_build: "cp*-manylinux_*"
compile_target: ppc64le compile_target: ppc64le
- os: ubuntu-latest - os: ubuntu-20.04
cibw_archs: ppc64le cibw_archs: ppc64le
cibw_build: "cp*-musllinux_*" cibw_build: "cp*-musllinux_*"
compile_target: ppc64le compile_target: ppc64le
- os: ubuntu-latest - os: ubuntu-20.04
cibw_archs: s390x cibw_archs: s390x
cibw_build: "cp*-manylinux_*" cibw_build: "cp*-manylinux_*"
compile_target: s390x compile_target: s390x
- os: ubuntu-latest - os: ubuntu-20.04
cibw_archs: s390x cibw_archs: s390x
cibw_build: "cp*-musllinux_*" cibw_build: "cp*-musllinux_*"
compile_target: s390x compile_target: s390x
@ -151,7 +151,7 @@ jobs:
path: ./src/sqlcipher path: ./src/sqlcipher
- name: Build wheels for ${{ matrix.os }} ${{ matrix.cibw_archs }} ${{ matrix.cibw_build }} - name: Build wheels for ${{ matrix.os }} ${{ matrix.cibw_archs }} ${{ matrix.cibw_build }}
uses: pypa/cibuildwheel@v2.22.0 uses: pypa/cibuildwheel@v2.20.0
env: env:
CIBW_BUILD_FRONTEND: build CIBW_BUILD_FRONTEND: build
CIBW_BUILD: ${{ matrix.cibw_build }} CIBW_BUILD: ${{ matrix.cibw_build }}
@ -168,7 +168,7 @@ jobs:
upload-pypi: upload-pypi:
needs: [build-wheels, build-sdist] needs: [build-wheels, build-sdist]
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- uses: actions/download-artifact@v4 - uses: actions/download-artifact@v4