diff options
author | Jan Matyas <jan.matyas@codasip.com> | 2023-02-21 17:01:23 +0100 |
---|---|---|
committer | Jan Matyas <jan.matyas@codasip.com> | 2023-02-21 17:01:23 +0100 |
commit | 647acd6b2a5628cc63d24230e0eb2335707c89af (patch) | |
tree | 48b7fbb0d1f18b5b1c142345004409e280c78677 | |
parent | 6ec9fbec99a34bc26d3978c38a7b8f58efcc597c (diff) | |
download | riscv-openocd-647acd6b2a5628cc63d24230e0eb2335707c89af.zip riscv-openocd-647acd6b2a5628cc63d24230e0eb2335707c89af.tar.gz riscv-openocd-647acd6b2a5628cc63d24230e0eb2335707c89af.tar.bz2 |
Added apt update. Added mising 'cd'.
Change-Id: I9b57365994c77b2adfe68c3d0b7c32ee990123b1
Signed-off-by: Jan Matyas <jan.matyas@codasip.com>
-rw-r--r-- | .github/workflows/spike-openocd-tests.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/spike-openocd-tests.yml b/.github/workflows/spike-openocd-tests.yml index 2b14203..40b32e4 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 |