From 64ab7db8e15a1f3cc0958eae11da1defda5e07af Mon Sep 17 00:00:00 2001 From: Tang Haojin Date: Mon, 2 Dec 2024 11:16:31 +0800 Subject: [PATCH] ci: use `KunminghuV2Config` except perf --- .github/workflows/emu.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/emu.yml b/.github/workflows/emu.yml index 9f84a3913f8..dd7707f6053 100644 --- a/.github/workflows/emu.yml +++ b/.github/workflows/emu.yml @@ -113,7 +113,7 @@ jobs: python3 $GITHUB_WORKSPACE/scripts/xiangshan.py --clean - name: Build EMU run: | - python3 $GITHUB_WORKSPACE/scripts/xiangshan.py --wave-dump $WAVE_HOME --build --threads 16 \ + python3 $GITHUB_WORKSPACE/scripts/xiangshan.py --wave-dump $WAVE_HOME --build --threads 16 --config KunminghuV2Config \ --pgo $GITHUB_WORKSPACE/ready-to-run/coremark-2-iteration.bin --llvm-profdata llvm-profdata - name: Basic Test - cputest run: | @@ -156,13 +156,13 @@ jobs: - name: Zcb Extension Test - zcb-test run: | python3 $GITHUB_WORKSPACE/scripts/xiangshan.py --wave-dump $WAVE_HOME --threads 16 --numa --ci zcb-test 2> /dev/zero - emu-chi: + emu-tl: runs-on: bosc needs: changes if: ${{ needs.changes.outputs.core == 'true' }} continue-on-error: false timeout-minutes: 900 - name: EMU - CHI + name: EMU - TL steps: - uses: actions/checkout@v4 - name: set env @@ -177,11 +177,10 @@ jobs: - name: clean up run: | python3 $GITHUB_WORKSPACE/scripts/xiangshan.py --clean - - name: build KunminghuV2Config Release emu + - name: build DefaultConfig Release emu run: | - python3 $GITHUB_WORKSPACE/scripts/xiangshan.py --build \ - --threads 8 --config KunminghuV2Config --release - - name: run KunminghuV2Config - Linux + python3 $GITHUB_WORKSPACE/scripts/xiangshan.py --build --threads 8 --release + - name: run DefaultConfig - Linux run: | python3 $GITHUB_WORKSPACE/scripts/xiangshan.py --wave-dump $WAVE_HOME --threads 8 --numa --ci linux-hello-opensbi 2> perf.log cat perf.log | sort @@ -281,7 +280,7 @@ jobs: python3 $GITHUB_WORKSPACE/scripts/xiangshan.py --build \ --num-cores 2 --emu-optimize "" \ --dramsim3 /nfs/home/share/ci-workloads/DRAMsim3 \ - --with-dramsim3 --threads 16 \ + --with-dramsim3 --threads 16 --config KunminghuV2Config \ --pgo /nfs/home/share/ci-workloads/linux-hello-smp-new/bbl.bin --llvm-profdata llvm-profdata - name: MC Test run: | @@ -318,10 +317,10 @@ jobs: ssh -tt eda01 "echo test-ok" - name: Generate Verilog for VCS run: | - python3 $GITHUB_WORKSPACE/scripts/xiangshan.py --vcs-gen --no-db --xprop + python3 $GITHUB_WORKSPACE/scripts/xiangshan.py --vcs-gen --config KunminghuV2Config --no-db --xprop - name: Build SIMV on Remote run: | - ssh -tt eda01 "python3 `echo $GITHUB_WORKSPACE`/scripts/xiangshan.py --vcs-build --no-db --xprop" + ssh -tt eda01 "python3 `echo $GITHUB_WORKSPACE`/scripts/xiangshan.py --vcs-build --config KunminghuV2Config --no-db --xprop" - name: V Extension Test - rvv-test run: | ssh -tt eda01 "python3 `echo $GITHUB_WORKSPACE`/scripts/xiangshan.py --wave-dump `echo $WAVE_HOME` --ci-vcs rvv-test"