Skip to content

Commit

Permalink
Match test pypi script
Browse files Browse the repository at this point in the history
All platforms go to latest and use a matrix for qemu builds
  • Loading branch information
rogerbinns committed Nov 6, 2023
1 parent f76bdd8 commit 144fd61
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, windows-2022, macos-11]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v4
Expand All @@ -29,6 +29,9 @@ jobs:

build_binary_qemu:
runs-on: ubuntu-latest
strategy:
matrix:
arch: [aarch64]

steps:
- uses: actions/checkout@v4
Expand All @@ -42,7 +45,7 @@ jobs:
uses: pypa/[email protected]
env:
CIBW_SKIP: pp*
CIBW_ARCHS_LINUX: aarch64
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
CIBW_PROJECT_REQUIRES_PYTHON: ">= 3.10"
CIBW_BEFORE_BUILD: python -c "import shutil ; shutil.copyfile('tools/setup-pypi.cfg','setup.apsw')"
CIBW_TEST_COMMAND: python -m apsw.tests -v
Expand Down

0 comments on commit 144fd61

Please sign in to comment.