Added apt update. Added mising 'cd'.
Change-Id: I9b57365994c77b2adfe68c3d0b7c32ee990123b1 Signed-off-by: Jan Matyas <jan.matyas@codasip.com>
This commit is contained in:
parent
6ec9fbec99
commit
647acd6b2a
|
@ -37,8 +37,9 @@ jobs:
|
|||
run: tar zxf xpack-riscv-none-elf-gcc-12.2.0-1-linux-x64.tar.gz --strip-components=1 -C /opt/riscv
|
||||
|
||||
- if: ${{ steps.cache-deps.outputs.cache-hit != 'true' }}
|
||||
name: Install Spike build dependencies
|
||||
name: Install build dependencies
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install build-essential device-tree-compiler
|
||||
|
||||
- if: ${{ steps.cache-deps.outputs.cache-hit != 'true' }}
|
||||
|
@ -52,6 +53,7 @@ jobs:
|
|||
- if: ${{ steps.cache-deps.outputs.cache-hit != 'true' }}
|
||||
name: Build Spike
|
||||
run: |
|
||||
cd riscv-isa-sim
|
||||
mkdir build install
|
||||
cd build
|
||||
../configure --prefix=/opt/riscv
|
||||
|
|
Loading…
Reference in New Issue