From 82ac9e5c8706515ddfc00355b7e5ea449622c522 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 | 37 ++++--------------------------------- 1 file changed, 4 insertions(+), 33 deletions(-) diff --git a/.github/workflows/emu.yml b/.github/workflows/emu.yml index 512afe0603..2484fefdd9 100644 --- a/.github/workflows/emu.yml +++ b/.github/workflows/emu.yml @@ -109,7 +109,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: | @@ -152,35 +152,6 @@ 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: - runs-on: bosc - needs: changes - if: ${{ needs.changes.outputs.core == 'true' }} - continue-on-error: false - timeout-minutes: 900 - name: EMU - CHI - steps: - - uses: actions/checkout@v4 - - 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 "WAVE_HOME=/nfs/home/ci-runner/xs-wave/${HEAD_SHA}" >> $GITHUB_ENV - mkdir -p /nfs/home/ci-runner/xs-wave/${HEAD_SHA} - - name: init - run: make init - - name: clean up - run: | - python3 $GITHUB_WORKSPACE/scripts/xiangshan.py --clean - - name: build KunminghuV2Config Release emu - run: | - python3 $GITHUB_WORKSPACE/scripts/xiangshan.py --build \ - --threads 8 --config KunminghuV2Config --release - - name: run KunminghuV2Config - 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 emu-performance: runs-on: bosc needs: changes @@ -277,7 +248,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: | @@ -314,10 +285,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"