aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Matyas <jan.matyas@codasip.com>2023-02-21 18:04:40 +0100
committerJan Matyas <jan.matyas@codasip.com>2023-02-21 18:04:40 +0100
commit1b71eab1a587474f03186ca18f8b921cd3b9e66a (patch)
treec5d0cf9647a9f58cd18091819221684b1d62cb97
parent924f48bab20d2a2461bc97247bfd7e449b78bc1a (diff)
downloadriscv-openocd-1b71eab1a587474f03186ca18f8b921cd3b9e66a.zip
riscv-openocd-1b71eab1a587474f03186ca18f8b921cd3b9e66a.tar.gz
riscv-openocd-1b71eab1a587474f03186ca18f8b921cd3b9e66a.tar.bz2
Packages must be installed always, regardless of cache
Change-Id: Ib9bd4b689013cf43624898f4f673ed17aa4f1167 Signed-off-by: Jan Matyas <jan.matyas@codasip.com>
-rw-r--r--.github/workflows/spike-openocd-tests.yml11
1 files changed, 5 insertions, 6 deletions
diff --git a/.github/workflows/spike-openocd-tests.yml b/.github/workflows/spike-openocd-tests.yml
index 0ebffbc..4052b6a 100644
--- a/.github/workflows/spike-openocd-tests.yml
+++ b/.github/workflows/spike-openocd-tests.yml
@@ -20,6 +20,11 @@ jobs:
steps:
- uses: actions/checkout@v3
+ - name: Install packages
+ run: |
+ sudo apt-get update
+ sudo apt-get install device-tree-compiler build-essentials
+
- name: Cache dependencies
id: cache-deps
uses: actions/cache@v3
@@ -38,12 +43,6 @@ jobs:
run: tar zxf /tmp/toolchain.tar.gz --strip-components=1 -C /opt/riscv
- if: ${{ steps.cache-deps.outputs.cache-hit != 'true' }}
- name: Install build dependencies
- run: |
- sudo apt-get update
- sudo apt-get install build-essential device-tree-compiler
-
- - if: ${{ steps.cache-deps.outputs.cache-hit != 'true' }}
name: Download Spike source
run: |
git clone https://github.com/riscv-software-src/riscv-isa-sim