Skip to content

Commit 5ac342c

Browse files
committed
Use ubuntu-latest
It's better to use ubuntu-latest to track current LTS provided by github, instead of having to manually update it. It also makes more sense to stick to the current LTS than trying to support the older one. Signed-off-by: Nick Kossifidis <[email protected]>
1 parent 7d8e9ad commit 5ac342c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build.yaml

+4-5
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ${{ matrix.os }}
1414
strategy:
1515
matrix:
16-
os: [ubuntu-22.04, ubuntu-24.04]
16+
os: [ubuntu-latest]
1717
mode: [newlib, linux, musl, uclibc]
1818
target: [rv32gc-ilp32d, rv64gc-lp64d]
1919
compiler: [gcc, llvm]
@@ -50,8 +50,7 @@ jobs:
5050
5151
- name: make report
5252
if: |
53-
matrix.os == 'ubuntu-24.04'
54-
&& (matrix.mode == 'linux' || matrix.mode == 'newlib')
53+
(matrix.mode == 'linux' || matrix.mode == 'newlib')
5554
&& matrix.compiler == 'gcc'
5655
run: |
5756
sudo make report-${{ matrix.mode }} -j $(nproc)
@@ -90,7 +89,7 @@ jobs:
9089
runs-on: ${{ matrix.os }}
9190
strategy:
9291
matrix:
93-
os: [ubuntu-24.04]
92+
os: [ubuntu-latest]
9493
mode: [newlib]
9594
target: [rv64gc-lp64d]
9695
sim: [spike]
@@ -123,7 +122,7 @@ jobs:
123122
runs-on: ${{ matrix.os }}
124123
strategy:
125124
matrix:
126-
os: [ubuntu-24.04]
125+
os: [ubuntu-latest]
127126
mode: [newlib, linux]
128127
target: [rv64gc-lp64d]
129128
steps:

0 commit comments

Comments
 (0)