Test https://github.com/pytorch/test-infra/pull/6062 without json changes #41
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Build Linux Wheels on only selected python versions | |
on: | |
pull_request: | |
paths: | |
- .github/actions/setup-binary-builds/action.yml | |
- .github/workflows/test_build_wheels_linux_python_versions.yml | |
- .github/workflows/build_wheels_linux.yml | |
- .github/workflows/generate_binary_build_matrix.yml | |
- tools/scripts/generate_binary_build_matrix.py | |
workflow_dispatch: | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
generate-matrix: | |
uses: ./.github/workflows/generate_binary_build_matrix.yml | |
with: | |
package-type: wheel | |
os: linux | |
test-infra-repository: ${{ github.repository }} | |
test-infra-ref: ${{ github.ref }} | |
with-cuda: disable | |
with-rocm: disable | |
build-python-only: enable | |
python-versions: '["3.10", "3.11"]' | |
test: | |
needs: generate-matrix | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- repository: pytorch/executorch | |
pre-script: build/packaging/pre_build_script.sh | |
post-script: build/packaging/post_build_script.sh | |
smoke-test-script: build/packaging/smoke_test.py | |
package-name: executorch | |
uses: ./.github/workflows/build_wheels_linux.yml | |
name: ${{ matrix.repository }} | |
with: | |
repository: ${{ matrix.repository }} | |
ref: main | |
test-infra-repository: ${{ github.repository }} | |
test-infra-ref: ${{ github.ref }} | |
build-matrix: ${{ needs.generate-matrix.outputs.matrix }} | |
submodules: recursive | |
env-var-script: build/packaging/env_var_script_linux.sh | |
pre-script: ${{ matrix.pre-script }} | |
post-script: ${{ matrix.post-script }} | |
package-name: ${{ matrix.package-name }} | |
smoke-test-script: ${{ matrix.smoke-test-script }} | |
trigger-event: ${{ github.event_name }} |