File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,10 +126,10 @@ jobs:
126126 echo "comment=run 100% coverage spec06 rvv checkpoints" >> $GITHUB_OUTPUT
127127 ;;
128128 "spec06int-rvv-0.8c")
129- echo "checkpoint_list=/nfs/home/xutongqiao/GEM5-CI/spec06_gcc15_rv64gcbv_O3_lto_base_nemu_single_core_NEMU_archgroup_2024-10-12-16-05/checkpoint06_rv64gcbv/checkpoint_0.8c_int .lst" >> $GITHUB_OUTPUT
129+ echo "checkpoint_list=/nfs/home/share/zhenhao/runnable_tests .lst" >> $GITHUB_OUTPUT
130130 echo "checkpoint_root_node=/nfs/home/xutongqiao/GEM5-CI/spec06_gcc15_rv64gcbv_O3_lto_base_nemu_single_core_NEMU_archgroup_2024-10-12-16-05/checkpoint06_rv64gcbv/" >> $GITHUB_OUTPUT
131131 echo "score_script=gem5-score-ci.sh" >> $GITHUB_OUTPUT
132- echo "cluster_config=/nfs/home/xutongqiao/GEM5-CI/spec06_gcc15_rv64gcbv_O3_lto_base_nemu_single_core_NEMU_archgroup_2024-10-12-16-05/checkpoint06_rv64gcbv/cluster_0.8c_int .json" >> $GITHUB_OUTPUT
132+ echo "cluster_config=/nfs/home/share/zhenhao/runnable_tests .json" >> $GITHUB_OUTPUT
133133 echo "artifact_name=performance-score-spec06int-0.8c-with-rvv-extension" >> $GITHUB_OUTPUT
134134 echo "comment=run 80% coverage spec06 int rvv checkpoints" >> $GITHUB_OUTPUT
135135 ;;
Original file line number Diff line number Diff line change @@ -2,8 +2,11 @@ name: On-Demand RVV SPEC Test (Tier 1.5)
22
33on :
44 # Label触发: 添加 'rvv' 标签自动跑 gcc15-spec06-0.8c
5+ push :
6+ branches : [ xs-dev ]
57 pull_request_target :
68 types : [labeled]
9+ workflow_dispatch :
710
811permissions :
912 contents : read
@@ -14,10 +17,12 @@ jobs:
1417 name : Trigger RVV SPEC Test
1518 runs-on : ubuntu-latest
1619 if : |
17- github.event_name == 'pull_request_target' &&
18- github.event.label.name == 'rvv' &&
19- github.event.pull_request.base.ref == 'xs-dev' &&
20- github.event.pull_request.head.repo.full_name == github.repository
20+ (github.event_name == 'push' && github.ref == 'refs/heads/xs-dev') ||
21+ github.event_name == 'workflow_dispatch' ||
22+ (github.event_name == 'pull_request_target' &&
23+ github.event.label.name == 'rvv' &&
24+ github.event.pull_request.base.ref == 'xs-dev' &&
25+ github.event.pull_request.head.repo.full_name == github.repository)
2126
2227 outputs :
2328 benchmark_type : ${{ steps.setup.outputs.benchmark }}
3035 run : |
3136 echo "benchmark=spec06int-rvv-0.8c" >> "$GITHUB_OUTPUT"
3237 echo "vector_type=simple" >> "$GITHUB_OUTPUT"
33- echo "pr_sha=${{ github.event.pull_request.head.sha }}" >> "$GITHUB_OUTPUT"
38+ if [ "${{ github.event_name }}" = "pull_request_target" ]; then
39+ echo "pr_sha=${{ github.event.pull_request.head.sha }}" >> "$GITHUB_OUTPUT"
40+ else
41+ echo "pr_sha=${{ github.sha }}" >> "$GITHUB_OUTPUT"
42+ fi
3443
3544 run_rvv_spec_test :
3645 name : Run RVV SPEC Test
You can’t perform that action at this time.
0 commit comments