3434jobs :
3535 test :
3636 name : Test debug (Ubuntu)
37- runs-on : ubuntu-20 .04
37+ runs-on : ubuntu-24 .04
3838 steps :
39- - uses : actions/checkout@v3
39+ - uses : actions/checkout@v4
4040 with :
4141 submodules : recursive
4242
4343 - name : Install packages
4444 run : |
4545 sudo apt-get update
46- sudo apt-get install -y device-tree-compiler build-essential
46+ sudo apt-get install -y device-tree-compiler build-essential libjim-dev
4747
4848 - name : Get revisions of dependencies
4949 run : |
5757
5858 - name : Get the toolchain from cache (if available)
5959 id : cache-restore-toolchain
60- uses : actions/cache/restore@v3
60+ uses : actions/cache/restore@v4
6161 with :
6262 path : /opt/riscv/toolchain
6363 key : " toolchain-${{env.TOOLCHAIN_URL}}"
@@ -74,14 +74,14 @@ jobs:
7474
7575 - name : Save the toolchain to the cache (if necessary)
7676 id : cache-save-toolchain
77- uses : actions/cache/save@v3
77+ uses : actions/cache/save@v4
7878 with :
7979 path : /opt/riscv/toolchain
8080 key : " toolchain-${{env.TOOLCHAIN_URL}}"
8181
8282 - name : Get OpenOCD from cache (if available)
8383 id : cache-restore-openocd
84- uses : actions/cache/restore@v3
84+ uses : actions/cache/restore@v4
8585 with :
8686 path : /opt/riscv/openocd
8787 key : " openocd-${{env.OPENOCD_COMMIT}}"
@@ -106,14 +106,14 @@ jobs:
106106 - if : ${{ steps.cache-restore-openocd.outputs.cache-hit != 'true' }}
107107 name : Save OpenOCD to cache (if built)
108108 id : cache-save-openocd
109- uses : actions/cache/save@v3
109+ uses : actions/cache/save@v4
110110 with :
111111 path : /opt/riscv/openocd
112112 key : " openocd-${{env.OPENOCD_COMMIT}}"
113113
114114 - name : Get spike from cache (if available)
115115 id : cache-restore-spike
116- uses : actions/cache/restore@v3
116+ uses : actions/cache/restore@v4
117117 with :
118118 path : /opt/riscv/spike
119119 key : " spike-${{env.SPIKE_COMMIT}}"
@@ -138,7 +138,7 @@ jobs:
138138 - if : ${{ steps.cache-restore-spike.outputs.cache-hit != 'true' }}
139139 name : Save spike to cache (if built)
140140 id : cache-save-spike
141- uses : actions/cache/save@v3
141+ uses : actions/cache/save@v4
142142 with :
143143 path : /opt/riscv/spike
144144 key : " spike-${{env.SPIKE_COMMIT}}"
@@ -166,7 +166,7 @@ jobs:
166166 - name : Archive test logs
167167 # Proceed even if there was a failed test
168168 if : ${{ success() || failure() }}
169- uses : actions/upload-artifact@v3
169+ uses : actions/upload-artifact@v4
170170 with :
171171 name : test-logs
172172 path : riscv-tests/debug/logs
0 commit comments