ci: install RISC-V GCC (requires for LiteDRAM standalone core examples).

This commit is contained in:
Florent Kermarrec 2020-11-24 19:48:56 +01:00
parent 68cd462bd4
commit af979bbd31
1 changed files with 10 additions and 0 deletions

View File

@ -15,6 +15,7 @@ jobs:
run: | run: |
sudo apt-get install wget build-essential python3 sudo apt-get install wget build-essential python3
pip3 install setuptools pip3 install setuptools
pip3 install requests
# Install (n)Migen / LiteX / Cores # Install (n)Migen / LiteX / Cores
- name: Install LiteX - name: Install LiteX
@ -22,6 +23,15 @@ jobs:
wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
python3 litex_setup.py init install --user python3 litex_setup.py init install --user
# Install RISC-V GCC
- name: Install RISC-V GCC
run: |
wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
python3 litex_setup.py gcc
ls $PWD/../riscv64-*/bin/
export PATH=$PATH:$(echo $PWD/../riscv64-*/bin/)
riscv64-unknown-elf-gcc --version
# Install Project # Install Project
- name: Install Project - name: Install Project
run: python3 setup.py develop --user run: python3 setup.py develop --user