File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change 22self-hosted-runner :
33 labels :
44 - " windows-x86-n2-16"
5- - " linux-x86-n2-16"
5+ - " linux-x86-n2-16"
6+ - " linux-arm64-c4a-16"
Original file line number Diff line number Diff line change 1+ name : CPU End-to-End Test
2+
3+ on :
4+ workflow_dispatch : # Allows manual triggering or via Github API
5+ inputs :
6+ triggering_job_id :
7+ description : ' ID of the Kokoro job that triggered this workflow'
8+ required : false
9+ schedule :
10+ - cron : ' 0 9 * * *' # (UTC 9am everyday, and it corresponds to 2 am PDT everyday.)
11+
12+ permissions : {}
13+
14+ jobs :
15+ test-runner :
16+ strategy :
17+ matrix :
18+ runner : ["linux-x86-n2-16", "linux-arm64-c4a-16", "windows-x86-n2-16"]
19+ runs-on : ${{ matrix.runner }}
20+ container : ${{ (contains(matrix.runner, 'linux-x86') && 'us-docker.pkg.dev/ml-oss-artifacts-published/ml-public-container/ml-build:latest') ||
21+ (contains(matrix.runner, 'linux-arm64') && 'us-docker.pkg.dev/ml-oss-artifacts-published/ml-public-container/ml-build-arm64:latest') ||
22+ (contains(matrix.runner, 'windows-x86') && null) }}
23+ steps :
24+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/checkout@v4
25+ with :
26+ persist-credentials : false
27+ - name : Simulate running a job on ${{ matrix.runner }}
28+ run : |
29+ echo "Starting a job on runner: ${{ matrix.runner }}..."
30+ sleep 30
31+ echo "Job finished on runner: ${{ matrix.runner }}."
You can’t perform that action at this time.
0 commit comments