ci(nightly): fix nightly ci for kunminghu-v3 (#4897)
EMU Test / Changes Detection (push) Waiting to run Details
EMU Test / Generate Verilog (push) Blocked by required conditions Details
EMU Test / EMU - Basics (push) Blocked by required conditions Details
EMU Test / EMU - CHI (push) Blocked by required conditions Details
EMU Test / Docker Build (push) Blocked by required conditions Details
EMU Test / EMU - Performance (push) Blocked by required conditions Details
EMU Test / EMU - MC (push) Blocked by required conditions Details
EMU Test / SIMV - Basics (push) Blocked by required conditions Details
EMU Test / Upload Artifacts (push) Blocked by required conditions Details
EMU Test / Check Submodules (push) Blocked by required conditions Details
EMU Test / Check Format (push) Blocked by required conditions Details
Release Jobs / build-xsdev-image (push) Waiting to run Details

This commit is contained in:
Zehao Liu 2025-07-22 09:48:49 +08:00 committed by GitHub
parent 42689f147e
commit 115d84580c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 96 additions and 96 deletions

View File

@ -101,99 +101,99 @@ jobs:
2> perf.log
cat perf.log | sort | tee $PERF_HOME/random_7.txt
build-v3:
runs-on: bosc
continue-on-error: false
# At most 12 hours to finish (before 11:33 UTC+8).
timeout-minutes: 720
# Build + 8 checkpoints * 1-hour timeout
name: Nightly Regression(kunminghu-v3) - Checkpoints
steps:
- uses: actions/checkout@v2
with:
ref: kunminghu-v3
submodules: 'recursive'
- name: set env
run: |
export HEAD_SHA=${{ github.run_number }}
echo "NOOP_HOME=$GITHUB_WORKSPACE" >> $GITHUB_ENV
echo "NEMU_HOME=/nfs/home/share/ci-workloads/NEMU" >> $GITHUB_ENV
echo "PERF_HOME=/nfs/home/ci-runner/xs-perf/${HEAD_SHA}" >> $GITHUB_ENV
echo "WAVE_HOME=/nfs/home/ci-runner/xs-wave/${HEAD_SHA}" >> $GITHUB_ENV
echo "GCPT_RESTORE_BIN=/nfs/home/share/ci-workloads/fix-gcpt/gcpt.bin" >> $GITHUB_ENV
mkdir -p /nfs/home/ci-runner/xs-perf/${HEAD_SHA}
mkdir -p /nfs/home/ci-runner/xs-wave/${HEAD_SHA}
- name: clean up
run: |
python3 $GITHUB_WORKSPACE/scripts/xiangshan.py --clean
- name: Build EMU with DRAMsim3 and Spike-Diff
run: |
python3 $GITHUB_WORKSPACE/scripts/xiangshan.py --build \
--dramsim3 /nfs/home/share/ci-workloads/DRAMsim3 \
--with-dramsim3 --threads 16 --spike \
--pgo $GITHUB_WORKSPACE/ready-to-run/coremark-2-iteration.bin \
--llvm-profdata llvm-profdata --trace-fst
- name: Random Checkpoint 0
run: |
python3 $GITHUB_WORKSPACE/scripts/xiangshan.py \
--wave-dump $WAVE_HOME --threads 16 --numa \
--spike --ci random --timeout 3600 --ram-size=16GB \
--gcpt-restore-bin $GCPT_RESTORE_BIN \
2> perf.log
cat perf.log | sort | tee $PERF_HOME/random_0.txt
- name: Random Checkpoint 1
run: |
python3 $GITHUB_WORKSPACE/scripts/xiangshan.py \
--wave-dump $WAVE_HOME --threads 16 --numa \
--spike --ci random --timeout 3600 --ram-size=16GB \
--gcpt-restore-bin $GCPT_RESTORE_BIN \
2> perf.log
cat perf.log | sort | tee $PERF_HOME/random_1.txt
- name: Random Checkpoint 2
run: |
python3 $GITHUB_WORKSPACE/scripts/xiangshan.py \
--wave-dump $WAVE_HOME --threads 16 --numa \
--spike --ci random --timeout 3600 --ram-size=16GB \
--gcpt-restore-bin $GCPT_RESTORE_BIN \
2> perf.log
cat perf.log | sort | tee $PERF_HOME/random_2.txt
- name: Random Checkpoint 3
run: |
python3 $GITHUB_WORKSPACE/scripts/xiangshan.py \
--wave-dump $WAVE_HOME --threads 16 --numa \
--spike --ci random --timeout 3600 --ram-size=16GB \
--gcpt-restore-bin $GCPT_RESTORE_BIN \
2> perf.log
cat perf.log | sort | tee $PERF_HOME/random_3.txt
- name: Random Checkpoint 4
run: |
python3 $GITHUB_WORKSPACE/scripts/xiangshan.py \
--wave-dump $WAVE_HOME --threads 16 --numa \
--spike --ci random --timeout 3600 --ram-size=16GB \
--gcpt-restore-bin $GCPT_RESTORE_BIN \
2> perf.log
cat perf.log | sort | tee $PERF_HOME/random_4.txt
- name: Random Checkpoint 5
run: |
python3 $GITHUB_WORKSPACE/scripts/xiangshan.py \
--wave-dump $WAVE_HOME --threads 16 --numa \
--spike --ci random --timeout 3600 --ram-size=16GB \
--gcpt-restore-bin $GCPT_RESTORE_BIN \
2> perf.log
cat perf.log | sort | tee $PERF_HOME/random_5.txt
- name: Random Checkpoint 6
run: |
python3 $GITHUB_WORKSPACE/scripts/xiangshan.py \
--wave-dump $WAVE_HOME --threads 16 --numa \
--spike --ci random --timeout 3600 --ram-size=16GB \
--gcpt-restore-bin $GCPT_RESTORE_BIN \
2> perf.log
cat perf.log | sort | tee $PERF_HOME/random_6.txt
- name: Random Checkpoint 7
run: |
python3 $GITHUB_WORKSPACE/scripts/xiangshan.py \
--wave-dump $WAVE_HOME --threads 16 --numa \
--spike --ci random --timeout 3600 --ram-size=16GB \
--gcpt-restore-bin $GCPT_RESTORE_BIN \
2> perf.log
cat perf.log | sort | tee $PERF_HOME/random_7.txt
build-v3:
runs-on: bosc
continue-on-error: false
# At most 12 hours to finish (before 11:33 UTC+8).
timeout-minutes: 720
# Build + 8 checkpoints * 1-hour timeout
name: Nightly Regression(kunminghu-v3) - Checkpoints
steps:
- uses: actions/checkout@v2
with:
ref: kunminghu-v3
submodules: 'recursive'
- name: set env
run: |
export HEAD_SHA=${{ github.run_number }}
echo "NOOP_HOME=$GITHUB_WORKSPACE" >> $GITHUB_ENV
echo "NEMU_HOME=/nfs/home/share/ci-workloads/NEMU" >> $GITHUB_ENV
echo "PERF_HOME=/nfs/home/ci-runner/xs-perf/${HEAD_SHA}" >> $GITHUB_ENV
echo "WAVE_HOME=/nfs/home/ci-runner/xs-wave/${HEAD_SHA}" >> $GITHUB_ENV
echo "GCPT_RESTORE_BIN=/nfs/home/share/ci-workloads/fix-gcpt/gcpt.bin" >> $GITHUB_ENV
mkdir -p /nfs/home/ci-runner/xs-perf/${HEAD_SHA}
mkdir -p /nfs/home/ci-runner/xs-wave/${HEAD_SHA}
- name: clean up
run: |
python3 $GITHUB_WORKSPACE/scripts/xiangshan.py --clean
- name: Build EMU with DRAMsim3 and Spike-Diff
run: |
python3 $GITHUB_WORKSPACE/scripts/xiangshan.py --build \
--dramsim3 /nfs/home/share/ci-workloads/DRAMsim3 \
--with-dramsim3 --threads 16 --spike \
--pgo $GITHUB_WORKSPACE/ready-to-run/coremark-2-iteration.bin \
--llvm-profdata llvm-profdata --trace-fst
- name: Random Checkpoint 0
run: |
python3 $GITHUB_WORKSPACE/scripts/xiangshan.py \
--wave-dump $WAVE_HOME --threads 16 --numa \
--spike --ci random --timeout 3600 --ram-size=16GB \
--gcpt-restore-bin $GCPT_RESTORE_BIN \
2> perf.log
cat perf.log | sort | tee $PERF_HOME/random_0.txt
- name: Random Checkpoint 1
run: |
python3 $GITHUB_WORKSPACE/scripts/xiangshan.py \
--wave-dump $WAVE_HOME --threads 16 --numa \
--spike --ci random --timeout 3600 --ram-size=16GB \
--gcpt-restore-bin $GCPT_RESTORE_BIN \
2> perf.log
cat perf.log | sort | tee $PERF_HOME/random_1.txt
- name: Random Checkpoint 2
run: |
python3 $GITHUB_WORKSPACE/scripts/xiangshan.py \
--wave-dump $WAVE_HOME --threads 16 --numa \
--spike --ci random --timeout 3600 --ram-size=16GB \
--gcpt-restore-bin $GCPT_RESTORE_BIN \
2> perf.log
cat perf.log | sort | tee $PERF_HOME/random_2.txt
- name: Random Checkpoint 3
run: |
python3 $GITHUB_WORKSPACE/scripts/xiangshan.py \
--wave-dump $WAVE_HOME --threads 16 --numa \
--spike --ci random --timeout 3600 --ram-size=16GB \
--gcpt-restore-bin $GCPT_RESTORE_BIN \
2> perf.log
cat perf.log | sort | tee $PERF_HOME/random_3.txt
- name: Random Checkpoint 4
run: |
python3 $GITHUB_WORKSPACE/scripts/xiangshan.py \
--wave-dump $WAVE_HOME --threads 16 --numa \
--spike --ci random --timeout 3600 --ram-size=16GB \
--gcpt-restore-bin $GCPT_RESTORE_BIN \
2> perf.log
cat perf.log | sort | tee $PERF_HOME/random_4.txt
- name: Random Checkpoint 5
run: |
python3 $GITHUB_WORKSPACE/scripts/xiangshan.py \
--wave-dump $WAVE_HOME --threads 16 --numa \
--spike --ci random --timeout 3600 --ram-size=16GB \
--gcpt-restore-bin $GCPT_RESTORE_BIN \
2> perf.log
cat perf.log | sort | tee $PERF_HOME/random_5.txt
- name: Random Checkpoint 6
run: |
python3 $GITHUB_WORKSPACE/scripts/xiangshan.py \
--wave-dump $WAVE_HOME --threads 16 --numa \
--spike --ci random --timeout 3600 --ram-size=16GB \
--gcpt-restore-bin $GCPT_RESTORE_BIN \
2> perf.log
cat perf.log | sort | tee $PERF_HOME/random_6.txt
- name: Random Checkpoint 7
run: |
python3 $GITHUB_WORKSPACE/scripts/xiangshan.py \
--wave-dump $WAVE_HOME --threads 16 --numa \
--spike --ci random --timeout 3600 --ram-size=16GB \
--gcpt-restore-bin $GCPT_RESTORE_BIN \
2> perf.log
cat perf.log | sort | tee $PERF_HOME/random_7.txt