Skip to content

Commit

Permalink
Use ubuntu-latest
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
mickflemm committed Nov 2, 2024
1 parent 7d8e9ad commit 5ac342c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-24.04]
os: [ubuntu-latest]
mode: [newlib, linux, musl, uclibc]
target: [rv32gc-ilp32d, rv64gc-lp64d]
compiler: [gcc, llvm]
Expand Down Expand Up @@ -50,8 +50,7 @@ jobs:
- name: make report
if: |
matrix.os == 'ubuntu-24.04'
&& (matrix.mode == 'linux' || matrix.mode == 'newlib')
(matrix.mode == 'linux' || matrix.mode == 'newlib')
&& matrix.compiler == 'gcc'
run: |
sudo make report-${{ matrix.mode }} -j $(nproc)
Expand Down Expand Up @@ -90,7 +89,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04]
os: [ubuntu-latest]
mode: [newlib]
target: [rv64gc-lp64d]
sim: [spike]
Expand Down Expand Up @@ -123,7 +122,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04]
os: [ubuntu-latest]
mode: [newlib, linux]
target: [rv64gc-lp64d]
steps:
Expand Down

0 comments on commit 5ac342c

Please sign in to comment.