workflows/ci: Use local version of litex_setup.

This commit is contained in:
Florent Kermarrec 2022-03-24 10:15:30 +01:00
parent 72b61155c7
commit 1935a2599f
1 changed files with 0 additions and 4 deletions

View File

@ -9,8 +9,6 @@ jobs:
# Checkout Repository # Checkout Repository
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
with:
path: /usr/litex
# Install Tools # Install Tools
- name: Install Tools - name: Install Tools
@ -26,13 +24,11 @@ jobs:
# Install (n)Migen / LiteX / Cores # Install (n)Migen / LiteX / Cores
- name: Install LiteX - name: Install LiteX
run: | run: |
wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
python3 litex_setup.py --config=full --init --install --user python3 litex_setup.py --config=full --init --install --user
# Install GCC Toolchains # Install GCC Toolchains
- name: Install GCC Toolchains - name: Install GCC Toolchains
run: | run: |
wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
python3 litex_setup.py --gcc=riscv python3 litex_setup.py --gcc=riscv
sudo mkdir /usr/local/riscv sudo mkdir /usr/local/riscv
sudo cp -r $PWD/../riscv64-*/* /usr/local/riscv sudo cp -r $PWD/../riscv64-*/* /usr/local/riscv