From 5d15ff6033bb7bb8b1f00f2cc0c41c097106f3d4 Mon Sep 17 00:00:00 2001 From: laggykiller Date: Sun, 9 Feb 2025 23:24:10 +0800 Subject: [PATCH] Investigating build failure of ppc64le and s390x --- .github/workflows/pythonpackage.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 73de6fc..f4cb675 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -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