aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/debug.yml2
-rw-r--r--.github/workflows/spike-openocd-tests.yml20
2 files changed, 11 insertions, 11 deletions
diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml
index 7b6beb4..81fe15a 100644
--- a/.github/workflows/debug.yml
+++ b/.github/workflows/debug.yml
@@ -7,7 +7,7 @@ name: Check Debug Code Style (pylint)
jobs:
check:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
steps:
- name: Checkout Code
uses: actions/checkout@v3
diff --git a/.github/workflows/spike-openocd-tests.yml b/.github/workflows/spike-openocd-tests.yml
index 577bd95..e67f2a6 100644
--- a/.github/workflows/spike-openocd-tests.yml
+++ b/.github/workflows/spike-openocd-tests.yml
@@ -34,16 +34,16 @@ on:
jobs:
test:
name: Test debug (Ubuntu)
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-24.04
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
with:
submodules: recursive
- name: Install packages
run: |
sudo apt-get update
- sudo apt-get install -y device-tree-compiler build-essential
+ sudo apt-get install -y device-tree-compiler build-essential libjim-dev
- name: Get revisions of dependencies
run: |
@@ -57,7 +57,7 @@ jobs:
- name: Get the toolchain from cache (if available)
id: cache-restore-toolchain
- uses: actions/cache/restore@v3
+ uses: actions/cache/restore@v4
with:
path: /opt/riscv/toolchain
key: "toolchain-${{env.TOOLCHAIN_URL}}"
@@ -74,14 +74,14 @@ jobs:
- name: Save the toolchain to the cache (if necessary)
id: cache-save-toolchain
- uses: actions/cache/save@v3
+ uses: actions/cache/save@v4
with:
path: /opt/riscv/toolchain
key: "toolchain-${{env.TOOLCHAIN_URL}}"
- name: Get OpenOCD from cache (if available)
id: cache-restore-openocd
- uses: actions/cache/restore@v3
+ uses: actions/cache/restore@v4
with:
path: /opt/riscv/openocd
key: "openocd-${{env.OPENOCD_COMMIT}}"
@@ -106,14 +106,14 @@ jobs:
- if: ${{ steps.cache-restore-openocd.outputs.cache-hit != 'true' }}
name: Save OpenOCD to cache (if built)
id: cache-save-openocd
- uses: actions/cache/save@v3
+ uses: actions/cache/save@v4
with:
path: /opt/riscv/openocd
key: "openocd-${{env.OPENOCD_COMMIT}}"
- name: Get spike from cache (if available)
id: cache-restore-spike
- uses: actions/cache/restore@v3
+ uses: actions/cache/restore@v4
with:
path: /opt/riscv/spike
key: "spike-${{env.SPIKE_COMMIT}}"
@@ -138,7 +138,7 @@ jobs:
- if: ${{ steps.cache-restore-spike.outputs.cache-hit != 'true' }}
name: Save spike to cache (if built)
id: cache-save-spike
- uses: actions/cache/save@v3
+ uses: actions/cache/save@v4
with:
path: /opt/riscv/spike
key: "spike-${{env.SPIKE_COMMIT}}"
@@ -166,7 +166,7 @@ jobs:
- name: Archive test logs
# Proceed even if there was a failed test
if: ${{ success() || failure() }}
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: test-logs
path: riscv-tests/debug/logs