Skip to content

Commit

Permalink
update scripts/ci
Browse files Browse the repository at this point in the history
  • Loading branch information
bitner committed Oct 29, 2024
1 parent 6b8d3b4 commit 5c518e9
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/civ2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,33 @@ jobs:
cache-from: type=gha
cache-to: type=gha, mode=max

linux_x86_64:
runs-on: ubuntu-latest
strategy:
matrix:
target: [x86_64]
steps:
- uses: actions/checkout@v4
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
working-directory: src/pypgstac
target: ${{ matrix.target }}
args: --release --out /home/runner/work/pgstac/pgstac/dist
sccache: 'true'
manylinux: auto
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.target }}
path: /home/runner/work/pgstac/pgstac/dist/*
if-no-files-found: error

linux:
runs-on: ubuntu-latest
strategy:
matrix:
target: [x86_64, x86, aarch64, armv7, s390x, ppc64le]
target: [x86, aarch64, armv7, s390x, ppc64le]
steps:
- uses: actions/checkout@v4
- name: Build wheels
Expand Down Expand Up @@ -155,7 +177,7 @@ jobs:

test:
name: test
needs: [buildpg, linux]
needs: [buildpg, linux_x86_64]
runs-on: ubuntu-latest
services:
postgres:
Expand Down

0 comments on commit 5c518e9

Please sign in to comment.