Commit 7ba7cf4d authored by Omkar Salpekar's avatar Omkar Salpekar Committed by Facebook GitHub Bot
Browse files

[Nova] Moving Linux Wheels over to Nova (#2702)

Summary:
This does 2 things:

Comments out Linux Wheels-related jobs in CircleCI so that they are not run on nightlies/releases.
Adds a GHA workflow that calls the build workflow in pytorch/test-infra.
Testing:
Verified that the builds are triggered by this workflow, and all builds are green: https://github.com/pytorch/audio/actions/runs/3109635749/jobs/5040029155

Pull Request resolved: https://github.com/pytorch/audio/pull/2702

Reviewed By: seemethere

Differential Revision: D39756852

Pulled By: osalpekar

fbshipit-source-id: 7e222d80ca0720e3be43b929f1e55f5c0166b947
parent faf8f1cc
This diff is collapsed.
......@@ -241,27 +241,27 @@ jobs:
paths:
- ffmpeg
binary_linux_wheel:
<<: *binary_common
docker:
- image: << parameters.wheel_docker_image >>
resource_class: 2xlarge+
steps:
- checkout
- attach_workspace:
at: third_party
- run:
command: |
export FFMPEG_ROOT=${PWD}/third_party/ffmpeg
packaging/build_wheel.sh
environment:
USE_FFMPEG: true
- store_artifacts:
path: dist
- persist_to_workspace:
root: dist
paths:
- "*"
# binary_linux_wheel:
# <<: *binary_common
# docker:
# - image: << parameters.wheel_docker_image >>
# resource_class: 2xlarge+
# steps:
# - checkout
# - attach_workspace:
# at: third_party
# - run:
# command: |
# export FFMPEG_ROOT=${PWD}/third_party/ffmpeg
# packaging/build_wheel.sh
# environment:
# USE_FFMPEG: true
# - store_artifacts:
# path: dist
# - persist_to_workspace:
# root: dist
# paths:
# - "*"
binary_linux_conda:
<<: *binary_common
......
name: Trigger Linux Wheels Build for Nightlies/Release
on:
pull_request:
paths: .github/workflows/build_wheels_linux.yml
push:
branches:
- nightly
workflow_dispatch:
jobs:
generate-matrix:
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
with:
package-type: wheel
os: linux
test-infra-repository: pytorch/test-infra
test-infra-ref: main
build:
needs: generate-matrix
strategy:
fail-fast: false
matrix:
include:
- repository: pytorch/audio
pre-script: packaging/pre_build_script.sh
post-script: packaging/post_build_script.sh
package-name: torchaudio
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
name: ${{ matrix.repository }}
with:
repository: ${{ matrix.repository }}
ref: nightly
test-infra-repository: pytorch/test-infra
test-infra-ref: main
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
pre-script: ${{ matrix.pre-script }}
post-script: ${{ matrix.post-script }}
package-name: ${{ matrix.package-name }}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment