File tree Expand file tree Collapse file tree 3 files changed +280
-226
lines changed Expand file tree Collapse file tree 3 files changed +280
-226
lines changed Original file line number Diff line number Diff line change
1
+ name : Lan test workflow main
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - main
8
+ - nightly
9
+ - release/*
10
+ tags :
11
+ # NOTE: Binary build pipelines should only get triggered on release candidate builds
12
+ # Release candidate tags look like: v1.11.0-rc1
13
+ - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
14
+ workflow_dispatch :
15
+
16
+ jobs :
17
+ generate-matrix :
18
+ uses : pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
19
+ with :
20
+ package-type : wheel
21
+ os : linux
22
+ test-infra-repository : pytorch/test-infra
23
+ test-infra-ref : main
24
+ with-rocm : false
25
+ with-cpu : false
26
+
27
+ filter-matrix :
28
+ needs : [generate-matrix]
29
+ outputs :
30
+ matrix : ${{ steps.generate.outputs.matrix }}
31
+ runs-on : ubuntu-latest
32
+ steps :
33
+ - uses : actions/setup-python@v5
34
+ with :
35
+ python-version : ' 3.11'
36
+ - uses : actions/checkout@v4
37
+ with :
38
+ repository : pytorch/tensorrt
39
+ - name : Generate matrix
40
+ id : generate
41
+ run : |
42
+ set -eou pipefail
43
+ MATRIX_BLOB=${{ toJSON(needs.generate-matrix.outputs.matrix) }}
44
+ MATRIX_BLOB="$(python3 .github/scripts/filter-matrix.py --matrix "${MATRIX_BLOB}")"
45
+ echo "${MATRIX_BLOB}"
46
+ echo "matrix=${MATRIX_BLOB}" >> "${GITHUB_OUTPUT}"
47
+
48
+ trigger-linux-test :
49
+ needs : [filter-matrix]
50
+ uses : ./.github/workflows/build-test-linux-x86_64.yml
51
+
52
+ trigger-windows-test :
53
+ needs : [filter-matrix]
54
+ uses : ./.github/workflows/build-test-windows.yml
Original file line number Diff line number Diff line change 1
- name : Build and test Linux x86_64 wheels
1
+ name : Lan test workflow x86_64 wheels
2
2
3
3
on :
4
4
pull_request :
You can’t perform that action at this time.
0 commit comments