Skip to content

Commit 6bb0b0a

Browse files
committed
Try adding M1 Nova Wheels
1 parent 0d60518 commit 6bb0b0a

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/workflows/build-wheels-m1.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Build M1 Wheels
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- nightly
8+
- main
9+
- release/*
10+
tags:
11+
# NOTE: Binary build pipelines should only get triggered on release candidate builds
12+
# Release candidate tags look like: v1.11.0-rc1
13+
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
14+
workflow_dispatch:
15+
16+
jobs:
17+
generate-matrix:
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
19+
with:
20+
package-type: wheel
21+
os: macos-arm64
22+
test-infra-repository: pytorch/test-infra
23+
test-infra-ref: main
24+
build:
25+
needs: generate-matrix
26+
name: pytorch/rl
27+
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main
28+
with:
29+
repository: pytorch/rl
30+
ref: ""
31+
test-infra-repository: pytorch/test-infra
32+
test-infra-ref: main
33+
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
34+
pre-script: ""
35+
post-script: ""
36+
package-name: torchrl
37+
runner-type: macos-m1-12
38+
smoke-test-script: ""
39+
trigger-event: ${{ github.event_name }}
40+
secrets:
41+
AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID: ${{ secrets.AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID }}
42+
AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY: ${{ secrets.AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY }}

0 commit comments

Comments
 (0)