Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: make init for submods instead of recursively checkout #3940

Merged
merged 1 commit into from
Nov 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions .github/workflows/emu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ 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 }}
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
Expand Down Expand Up @@ -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 }}
Expand All @@ -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
Expand Down Expand Up @@ -160,16 +160,16 @@ 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 }}
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
Expand All @@ -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 }}
Expand All @@ -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
Expand Down Expand Up @@ -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 }}
Expand All @@ -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
Expand All @@ -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 }}
Expand All @@ -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
Expand Down
Loading