Skip to content

Commit 08e6a06

Browse files
committed
ci: Use shallow LiteX setup clones
Use litex_setup.py --clone-depth=1 in CI to reduce clone time and network usage. litex_setup keeps full clones for repositories that need pinned tag/SHA1 checkouts, so pinned CPU/pythondata repositories remain compatible.
1 parent cbf80ed commit 08e6a06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
- name: Install LiteX
6767
run: |
6868
wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
69-
python3 litex_setup.py init install --user
69+
python3 litex_setup.py --clone-depth=1 init install --user
7070
7171
# Install Project
7272
- name: Install Project

0 commit comments

Comments
 (0)