diff --git a/.github/workflows/emu.yml b/.github/workflows/emu.yml index 8d333523ff..512afe0603 100644 --- a/.github/workflows/emu.yml +++ b/.github/workflows/emu.yml @@ -32,9 +32,7 @@ jobs: timeout-minutes: 900 name: Generate Verilog steps: - - uses: actions/checkout@v2 - with: - submodules: 'recursive' + - uses: actions/checkout@v4 - name: set env run: | export HEAD_SHA=${{ github.run_number }} @@ -42,6 +40,8 @@ jobs: 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 @@ -90,9 +90,7 @@ jobs: timeout-minutes: 900 name: EMU - Basics steps: - - uses: actions/checkout@v2 - with: - submodules: 'recursive' + - uses: actions/checkout@v4 - name: set env run: | export HEAD_SHA=${{ github.run_number }} @@ -104,6 +102,8 @@ jobs: 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: init + run: make init - name: clean up run: | python3 $GITHUB_WORKSPACE/scripts/xiangshan.py --clean @@ -160,9 +160,7 @@ jobs: timeout-minutes: 900 name: EMU - CHI steps: - - uses: actions/checkout@v2 - with: - submodules: 'recursive' + - uses: actions/checkout@v4 - name: set env run: | export HEAD_SHA=${{ github.run_number }} @@ -170,6 +168,8 @@ jobs: 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 @@ -189,9 +189,7 @@ jobs: timeout-minutes: 900 name: EMU - Performance steps: - - uses: actions/checkout@v2 - with: - submodules: 'recursive' + - uses: actions/checkout@v4 - name: set env run: | export HEAD_SHA=${{ github.run_number }} @@ -203,6 +201,8 @@ jobs: 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: init + run: make init - name: clean up run: | python3 $GITHUB_WORKSPACE/scripts/xiangshan.py --clean @@ -256,9 +256,7 @@ jobs: timeout-minutes: 900 name: EMU - MC steps: - - uses: actions/checkout@v2 - with: - submodules: 'recursive' + - uses: actions/checkout@v4 - name: set env run: | export HEAD_SHA=${{ github.run_number }} @@ -269,6 +267,8 @@ jobs: echo "WAVE_HOME=/nfs/home/ci-runner/xs-wave/${HEAD_SHA}" >> $GITHUB_ENV mkdir -p /nfs/home/ci-runner/xs-perf/${HEAD_SHA} 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 @@ -293,9 +293,7 @@ jobs: timeout-minutes: 900 name: SIMV - Basics steps: - - uses: actions/checkout@v2 - with: - submodules: 'recursive' + - uses: actions/checkout@v4 - name: set env run: | export HEAD_SHA=${{ github.run_number }} @@ -306,6 +304,8 @@ jobs: echo "WAVE_HOME=/nfs/home/ci-runner/xs-wave/${HEAD_SHA}" >> $GITHUB_ENV mkdir -p /nfs/home/ci-runner/xs-perf/${HEAD_SHA} 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