From af979bbd3149c1bfe617320c22b4e4759de1182d Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 24 Nov 2020 19:48:56 +0100 Subject: [PATCH] ci: install RISC-V GCC (requires for LiteDRAM standalone core examples). --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 797bc3a..8ad53cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,7 @@ jobs: run: | sudo apt-get install wget build-essential python3 pip3 install setuptools + pip3 install requests # Install (n)Migen / LiteX / Cores - name: Install LiteX @@ -22,6 +23,15 @@ jobs: wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py 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 - name: Install Project run: python3 setup.py develop --user