File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed
Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 7272 contents : read
7373 packages : write
7474 uses : ./.github/workflows/build-test-linux-x86_64.yml
75+ with :
76+ job-name : build-test-all-linux-x86_64
7577
7678 trigger-windows-test :
7779 needs : [fail-fast-test]
8284 contents : read
8385 packages : write
8486 uses : ./.github/workflows/build-test-windows.yml
87+ with :
88+ job-name : build-test-all-windows
8589
8690 wait-all-jobs :
8791 needs : [trigger-linux-test, trigger-windows-test]
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ name: Lan test workflow x86_64 wheels
33on :
44 # pull_request:
55 workflow_call :
6+ inputs :
7+ job-name :
8+ required : true
9+ default : " build-test-linux-x86_64"
610 push :
711 branches :
812 - main
1519 workflow_dispatch :
1620
1721jobs :
18- generate-matrix :
22+ generate-linux-x86_64- matrix :
1923 uses : pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
2024 with :
2125 package-type : wheel
2529 with-rocm : false
2630 with-cpu : false
2731
28- filter-matrix :
29- needs : [generate-matrix]
32+ filter-linux-x86_64- matrix :
33+ needs : [generate-linux-x86_64- matrix]
3034 outputs :
3135 matrix : ${{ steps.generate.outputs.matrix }}
3236 runs-on : ubuntu-latest
4145 id : generate
4246 run : |
4347 set -eou pipefail
44- MATRIX_BLOB=${{ toJSON(needs.generate-matrix.outputs.matrix) }}
48+ MATRIX_BLOB=${{ toJSON(needs.generate-linux-x86_64- matrix.outputs.matrix) }}
4549 MATRIX_BLOB="$(python3 .github/scripts/filter-matrix.py --matrix "${MATRIX_BLOB}")"
4650 echo "${MATRIX_BLOB}"
51+ echo "${{ github.workflow }}-linux-x86_64-${{ github.event.pull_request.number || github.ref_name }}-${{ inputs.repository }}-${{ github.event_name == 'workflow_dispatch' }}-${{ inputs.job-name }}"
4752 echo "matrix=${MATRIX_BLOB}" >> "${GITHUB_OUTPUT}"
4853
4954 # build:
Original file line number Diff line number Diff line change 4444 id : generate
4545 run : |
4646 set -eou pipefail
47+ echo "${{ github.workflow }}-windows-${{ github.event.pull_request.number || github.ref_name }}-${{ inputs.repository }}-${{ github.event_name == 'workflow_dispatch' }}-${{ inputs.job-name }}"
4748 MATRIX_BLOB=${{ toJSON(needs.generate-windows-matrix.outputs.matrix) }}
4849 MATRIX_BLOB="$(python3 .github/scripts/filter-matrix.py --matrix "${MATRIX_BLOB}")"
4950 echo "${MATRIX_BLOB}"
You can’t perform that action at this time.
0 commit comments