From 647acd6b2a5628cc63d24230e0eb2335707c89af Mon Sep 17 00:00:00 2001 From: Jan Matyas Date: Tue, 21 Feb 2023 17:01:23 +0100 Subject: [PATCH] Added apt update. Added mising 'cd'. Change-Id: I9b57365994c77b2adfe68c3d0b7c32ee990123b1 Signed-off-by: Jan Matyas --- .github/workflows/spike-openocd-tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/spike-openocd-tests.yml b/.github/workflows/spike-openocd-tests.yml index 2b14203f9..40b32e47d 100644 --- a/.github/workflows/spike-openocd-tests.yml +++ b/.github/workflows/spike-openocd-tests.yml @@ -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