Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into release/0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Jan 31, 2024
2 parents 52a12a8 + b0653c4 commit 520e65f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/build-wheels-m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
workflow_dispatch:

permissions:
id-token: write
contents: read

jobs:
generate-matrix:
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
Expand All @@ -23,20 +27,23 @@ jobs:
test-infra-ref: main
build:
needs: generate-matrix
strategy:
fail-fast: false
matrix:
include:
- repository: pytorch/rl
smoke-test-script: test/smoke_test.py
package-name: torchrl
name: pytorch/rl
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main
with:
repository: pytorch/rl
repository: ${{ matrix.repository }}
ref: ""
test-infra-repository: pytorch/test-infra
test-infra-ref: main
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
post-script: ""
package-name: torchrl
package-name: ${{ matrix.package-name }}
runner-type: macos-m1-stable
smoke-test-script: ""
smoke-test-script: ${{ matrix.smoke-test-script }}
trigger-event: ${{ github.event_name }}
env-var-script: .github/scripts/m1_script.sh
secrets:
AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID: ${{ secrets.AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID }}
AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY: ${{ secrets.AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY }}
4 changes: 2 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
path: dist/*.whl

build-wheel-mac:
runs-on: macos-latest
runs-on: macos-11
strategy:
matrix:
python_version: [["3.8", "3.8"], ["3.9", "3.9"], ["3.10", "3.10.3"], ["3.11", "3.11"]]
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
needs: [build-wheel-linux, build-wheel-mac]
strategy:
matrix:
os: [["linux", "ubuntu-20.04"], ["mac", "macos-latest"]]
os: [["linux", "ubuntu-20.04"], ["mac", "macos-11"]]
python_version: [ "3.8", "3.9", "3.10", "3.11" ]
runs-on: ${{ matrix.os[1] }}
steps:
Expand Down

0 comments on commit 520e65f

Please sign in to comment.