From d8eccebbbcb5b019659334a1d9f77cf8e8e742c0 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 17 Dec 2020 17:13:58 +0100 Subject: [PATCH] ci: update RISC-V GCC install. --- .github/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ad53cd..9f8f33c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,9 +28,8 @@ jobs: 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 + sudo mkdir /usr/local/riscv + sudo cp -r $PWD/../riscv64-*/* /usr/local/riscv # Install Project - name: Install Project @@ -38,4 +37,6 @@ jobs: # Test - name: Run Tests - run: python3 setup.py test + run: | + export PATH=/usr/local/riscv/bin:$PATH + python3 setup.py test