Commit Graph

9 Commits

Author SHA1 Message Date
Jan Matyas 082c9a3dd6 Included toolchain URL into the cache key
Change-Id: Icabdd7bee4e92b33989813f3d95905e66dc11be0
Signed-off-by: Jan Matyas <jan.matyas@codasip.com>
2023-02-21 17:21:24 +01:00
Jan Matyas 6332f84488 Fixed cache key
Change-Id: Ifc8fa2ada75da9987c4a4f844f8842c549ef8bae
Signed-off-by: Jan Matyas <jan.matyas@codasip.com>
2023-02-21 17:09:05 +01:00
Jan Matyas 26e0731cb5 Changed 'apt' to 'apt-get' to supress a warning.
Change-Id: I4bc1d8ec09a323272764b9a09e7473866c1eee92
Signed-off-by: Jan Matyas <jan.matyas@codasip.com>
2023-02-21 17:04:46 +01:00
Jan Matyas 647acd6b2a Added apt update. Added mising 'cd'.
Change-Id: I9b57365994c77b2adfe68c3d0b7c32ee990123b1
Signed-off-by: Jan Matyas <jan.matyas@codasip.com>
2023-02-21 17:01:23 +01:00
Jan Matyas 6ec9fbec99 Added mkdir /opt/riscv
Change-Id: Ifa01513b73c449be09c5d8cf54f4cd11516db804
Signed-off-by: Jan Matyas <jan.matyas@codasip.com>
2023-02-21 16:59:18 +01:00
Jan Matyas 0a5340cadb Fixed tar command syntax
Change-Id: I5cdd3dd018481fe94e1f9a549cfac45fbff46fc9
Signed-off-by: Jan Matyas <jan.matyas@codasip.com>
2023-02-21 16:55:02 +01:00
Jan Matyas 56cd6f79f9 Added cache key. Fixed spike rev.
Change-Id: Ia2715f78dbb3be1bdf0b5ac0936f6320eaa98b73
Signed-off-by: Jan Matyas <jan.matyas@codasip.com>
2023-02-21 16:53:03 +01:00
Jan Matyas 67cddebde3 Several tweaks and experiments with Gitlab CI
- made the runner name explicit (ubuntu-22.04 instead of ubuntu-latest)
- use checkout action v3 (not v2) - silences a Github warning
- attempted to cache dependencies
- reordered the actions a bit so that the cached items are handled first
- installed all dependencies to /opt/riscv so that they can be cached more easily as a bulk

Change-Id: Icc9c31b20d6302ca378cfafb4f7b283b6e481520
Signed-off-by: Jan Matyas <jan.matyas@codasip.com>
2023-02-21 16:42:35 +01:00
Tim Newsome 13b0afaf82 Smoke test OpenOCD against spike.
Choosing to grab the latest version of each component. I'd rather deal
with the rare failure that causes, than realize that we've been testing
against really old stuff.

Change-Id: I17321d70e2b54086e8f3fbb01744746633d7a119
Signed-off-by: Tim Newsome <tim@sifive.com>
2023-02-17 12:50:05 -08:00