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