Skip to content

Commit 8d3135a

Browse files
create SDK wheels for mac on push-to-main workflow (#11412)
Co-authored-by: Jan Procházka <[email protected]>
1 parent 0c4c5df commit 8d3135a

File tree

1 file changed

+41
-1
lines changed

1 file changed

+41
-1
lines changed

.github/workflows/on_push_main.yml

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,15 @@ jobs:
138138
PLATFORM: linux-x64
139139
secrets: inherit
140140

141+
build-rerun_c-and-upload-macos-arm64:
142+
needs: [checks]
143+
name: "Mac-Arm64: Build & Upload rerun_c"
144+
uses: ./.github/workflows/reusable_build_and_upload_rerun_c.yml
145+
with:
146+
CONCURRENCY: push-macos-arm64-${{ github.ref_name }}-${{ inputs.CONCURRENCY }}
147+
PLATFORM: macos-arm64
148+
secrets: inherit
149+
141150
# -----------------------------------------------------------------------------------
142151
# Build rerun-cli (rerun binaries):
143152

@@ -159,6 +168,15 @@ jobs:
159168
PLATFORM: linux-x64
160169
secrets: inherit
161170

171+
build-rerun-cli-and-upload-macos-arm64:
172+
needs: [checks]
173+
name: "Mac-arm64: Build & Upload rerun-cli"
174+
uses: ./.github/workflows/reusable_build_and_upload_rerun_cli.yml
175+
with:
176+
CONCURRENCY: push-macos-arm64-${{ github.ref_name }}-${{ inputs.CONCURRENCY }}
177+
PLATFORM: macos-arm64
178+
secrets: inherit
179+
162180
# ---------------------------------------------------------------------------
163181
# Build wheels:
164182

@@ -184,6 +202,17 @@ jobs:
184202
MODE: "pypi"
185203
secrets: inherit
186204

205+
build-wheel-macos-arm64:
206+
needs: [checks, build-rerun-cli-and-upload-macos-arm64]
207+
name: "Macos-arm64: Build & Upload Wheels"
208+
uses: ./.github/workflows/reusable_build_and_upload_wheels.yml
209+
with:
210+
CONCURRENCY: push-macos-arm64-${{ github.ref_name }}-${{ inputs.CONCURRENCY }}
211+
PLATFORM: macos-arm64
212+
WHEEL_ARTIFACT_NAME: macos-arm64-wheel
213+
MODE: "pypi"
214+
secrets: inherit
215+
187216
# ---------------------------------------------------------------------------
188217
# Test wheels:
189218

@@ -207,9 +236,20 @@ jobs:
207236
WHEEL_ARTIFACT_NAME: linux-x64-wheel
208237
secrets: inherit
209238

239+
test-wheel-macos-arm64:
240+
needs: [checks, build-wheel-macos-arm64]
241+
name: "macos-arm64: Test Wheels"
242+
uses: ./.github/workflows/reusable_test_wheels.yml
243+
with:
244+
CONCURRENCY: push-macos-arm64-${{ github.ref_name }}-${{ inputs.CONCURRENCY }}
245+
PLATFORM: macos-arm64
246+
WHEEL_ARTIFACT_NAME: macos-arm64-wheel
247+
secrets: inherit
248+
210249
generate-pip-index:
211250
name: "Generate Pip Index"
212-
needs: [build-wheel-linux-arm64, build-wheel-linux-x64]
251+
needs:
252+
[build-wheel-linux-arm64, build-wheel-linux-x64, build-wheel-macos-arm64]
213253
uses: ./.github/workflows/reusable_pip_index.yml
214254
with:
215255
CONCURRENCY: push-${{ github.ref_name }}-${{ inputs.CONCURRENCY }}

0 commit comments

Comments
 (0)