Skip to content

Commit

Permalink
Update build_wheels_macos.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
msaroufim authored Aug 7, 2024
1 parent f892864 commit 78f5c8f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build_wheels_macos.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# From https://github.com/pytorch/test-infra/wiki/Using-Nova-Reusable-Build-Workflows
name: Build Linux Wheels
name: Build Mac Wheels

on:
pull_request:
Expand All @@ -20,9 +20,14 @@ on:
workflow_dispatch:

jobs:

generate-matrix:
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
with:
package-type: wheel
os: macos

build:
needs: generate-matrix
permissions:
id-token: write
contents: read
Expand All @@ -33,11 +38,14 @@ jobs:
# triggered daily from main with a schedule
repository: pytorch/ao
ref: ""
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
env-var-script: packaging/env_var_script_linux.sh
pre-script: packaging/pre_build_script.sh
post-script: packaging/post_build_script.sh
smoke-test-script: packaging/smoke_test.py
package-name: torchao
trigger-event: ${{ github.event_name }}
# This is the CUDA version to be uploaded to torchao-nightly pypi
# upload-to-pypi: cu121
secrets:
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 78f5c8f

Please sign in to comment.