Skip to content

Commit 5edf1a9

Browse files
run package builds using gha arm
1 parent 34f87e3 commit 5edf1a9

File tree

1 file changed

+9
-22
lines changed

1 file changed

+9
-22
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,20 @@ concurrency:
1010

1111
jobs:
1212
linux:
13-
runs-on: ubuntu-latest
14-
container: ghcr.io/getsentry/pypi-manylinux-amd64-ci
13+
strategy:
14+
matrix:
15+
include:
16+
- {arch: amd64, os: ubuntu-latest}
17+
- {arch: arm64, os: ubuntu-24.04-arm}
18+
runs-on: ${{ matrix.os }}
19+
container: ghcr.io/getsentry/pypi-manylinux-${{ matrix.arch }}-ci
1520
steps:
1621
- uses: actions/checkout@v3
1722
- run: python3 -um build --pypi-url https://pypi.devinfra.sentry.io
1823
- run: python3 -um validate --index-url https://pypi.devinfra.sentry.io/simple
1924
- uses: actions/upload-artifact@v4
2025
with:
21-
name: dist-linux
26+
name: dist-linux-${{ matrix.arch }}
2227
path: dist/*
2328
macos:
2429
strategy:
@@ -45,26 +50,8 @@ jobs:
4550
name: dist-${{ matrix.runs-on }}
4651
path: dist/*
4752

48-
cirrus:
49-
if: github.event_name != 'pull_request'
50-
strategy:
51-
matrix:
52-
task: [linux-arm64]
53-
runs-on: ubuntu-latest
54-
permissions:
55-
checks: read
56-
steps:
57-
- uses: getsentry/[email protected]
58-
with:
59-
task: ${{ matrix.task }}
60-
timeout-minutes: 60
61-
- uses: actions/upload-artifact@v4
62-
with:
63-
name: dist-${{ matrix.task }}
64-
path: dist/*
65-
6653
collect-and-deploy:
67-
needs: [linux, macos, cirrus]
54+
needs: [linux, macos]
6855
if: github.event_name != 'pull_request'
6956
runs-on: ubuntu-latest
7057
steps:

0 commit comments

Comments
 (0)