Skip to content

Commit d40fa4f

Browse files
author
Vincent Moens
authored
[CI] Add aarch64-linux wheels (#2434)
1 parent 361b763 commit d40fa4f

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Build Aarch64 Linux 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+
permissions:
17+
id-token: write
18+
contents: read
19+
20+
jobs:
21+
generate-matrix:
22+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
23+
with:
24+
package-type: wheel
25+
os: linux-aarch64
26+
test-infra-repository: pytorch/test-infra
27+
test-infra-ref: main
28+
with-cuda: disable
29+
build:
30+
needs: generate-matrix
31+
strategy:
32+
fail-fast: false
33+
matrix:
34+
include:
35+
- repository: pytorch/rl
36+
smoke-test-script: test/smoke_test.py
37+
package-name: torchrl
38+
name: pytorch/rl
39+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
40+
with:
41+
repository: ${{ matrix.repository }}
42+
ref: ""
43+
test-infra-repository: pytorch/test-infra
44+
test-infra-ref: main
45+
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
46+
package-name: ${{ matrix.package-name }}
47+
smoke-test-script: ${{ matrix.smoke-test-script }}
48+
trigger-event: ${{ github.event_name }}
49+
env-var-script: .github/scripts/td_script.sh
50+
architecture: aarch64
51+
setup-miniconda: false

0 commit comments

Comments
 (0)