Skip to content

Commit b88313d

Browse files
committed
test
1 parent 703faf3 commit b88313d

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

.github/workflows/build-test-windows.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ on:
1515
workflow_dispatch:
1616

1717
jobs:
18-
generate-matrix:
18+
generate-windows-matrix:
19+
name: generate-windows-matrix
1920
if: ${{ github.event.workflow_run.conclusion == 'success' }}
2021
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
2122
with:
@@ -26,8 +27,9 @@ jobs:
2627
with-rocm: false
2728
with-cpu: false
2829

29-
filter-matrix:
30-
needs: [generate-matrix]
30+
filter-windows-matrix:
31+
name: filter-windows-matrix
32+
needs: [generate-windows-matrix]
3133
outputs:
3234
matrix: ${{ steps.generate.outputs.matrix }}
3335
runs-on: ubuntu-latest
@@ -42,13 +44,13 @@ jobs:
4244
id: generate
4345
run: |
4446
set -eou pipefail
45-
MATRIX_BLOB=${{ toJSON(needs.generate-matrix.outputs.matrix) }}
47+
MATRIX_BLOB=${{ toJSON(needs.generate-windows-matrix.outputs.matrix) }}
4648
MATRIX_BLOB="$(python3 .github/scripts/filter-matrix.py --matrix "${MATRIX_BLOB}")"
4749
echo "${MATRIX_BLOB}"
4850
echo "matrix=${MATRIX_BLOB}" >> "${GITHUB_OUTPUT}"
4951
5052
substitute-runner:
51-
needs: filter-matrix
53+
needs: filter-windows-matrix
5254
outputs:
5355
matrix: ${{ steps.substitute.outputs.matrix }}
5456
runs-on: ubuntu-latest
@@ -58,7 +60,7 @@ jobs:
5860
run: |
5961
echo matrix="$(echo '${{ needs.filter-matrix.outputs.matrix }}' | sed -e 's/windows.g4dn.xlarge/windows.g5.4xlarge.nvidia.gpu/g')" >> ${GITHUB_OUTPUT}
6062
61-
build:
63+
build-windows:
6264
needs: substitute-runner
6365
permissions:
6466
id-token: write
@@ -321,4 +323,4 @@ jobs:
321323

322324
concurrency:
323325
group: ${{ github.workflow }}-windows-${{ github.event.pull_request.number || github.ref_name }}-${{ inputs.repository }}-${{ github.event_name == 'workflow_dispatch' }}-${{ inputs.job-name }}
324-
cancel-in-progress: false
326+
cancel-in-progress: true

.github/workflows/test_c.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Lan test c
22

33
on:
44
workflow_call:
5+
inputs:
6+
job-name:
7+
required: true
8+
type: string
9+
default: "test-c"
510

611
jobs:
712
test:

0 commit comments

Comments
 (0)