From 5ac342c5e3f83b5a26f3a42c5e3046048fd43153 Mon Sep 17 00:00:00 2001 From: Nick Kossifidis Date: Sat, 2 Nov 2024 12:55:57 +0200 Subject: [PATCH] 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 --- .github/workflows/build.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 532332b2990..ae0ba37f2fd 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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] @@ -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) @@ -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] @@ -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: