From 5c518e928f7413a88feba9f8fd9259b5267fd363 Mon Sep 17 00:00:00 2001 From: David W Bitner Date: Tue, 29 Oct 2024 16:02:06 -0500 Subject: [PATCH] update scripts/ci --- .github/workflows/civ2.yml | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/.github/workflows/civ2.yml b/.github/workflows/civ2.yml index 0ab6c761..4fb5bc8a 100644 --- a/.github/workflows/civ2.yml +++ b/.github/workflows/civ2.yml @@ -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 @@ -155,7 +177,7 @@ jobs: test: name: test - needs: [buildpg, linux] + needs: [buildpg, linux_x86_64] runs-on: ubuntu-latest services: postgres: