github: Upgraded the runners and compilers for the PR workflow

This commit is contained in:
dragonmux
2025-08-11 06:07:18 +01:00
parent d3537da71e
commit b662b82690

View File

@@ -33,9 +33,9 @@ jobs:
strategy: strategy:
matrix: matrix:
os: os:
- {id: ubuntu-22.04, name: jammy} - {id: ubuntu-24.04, name: noble}
arm-compiler: arm-compiler:
- '12.2.Rel1' - '14.2.Rel1'
probe: probe:
- '96b_carbon' - '96b_carbon'
- 'blackpill-f401cc' - 'blackpill-f401cc'
@@ -78,7 +78,7 @@ jobs:
# Install and setup a suitable Meson + Ninja # Install and setup a suitable Meson + Ninja
- name: Setup Meson + Ninja - name: Setup Meson + Ninja
run: | run: |
sudo python3 -m pip install --upgrade pip setuptools wheel sudo apt install -y python3-pip python3-setuptools python3-wheel
sudo python3 -m pip install meson ninja sudo python3 -m pip install meson ninja
working-directory: ${{ runner.temp }} working-directory: ${{ runner.temp }}
@@ -125,7 +125,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: os:
- windows-2022 - windows-2025
fail-fast: false fail-fast: false
# Steps represent a sequence of tasks that will be executed as part of the job # Steps represent a sequence of tasks that will be executed as part of the job
@@ -184,7 +184,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: os:
- windows-2022 - windows-2025
sys: sys:
- {abi: mingw64, env: x86_64, compiler: gcc} - {abi: mingw64, env: x86_64, compiler: gcc}
- {abi: ucrt64, env: ucrt-x86_64, compiler: gcc} - {abi: ucrt64, env: ucrt-x86_64, compiler: gcc}
@@ -271,6 +271,7 @@ jobs:
os: os:
- macos-13 - macos-13
- macos-14 - macos-14
- macos-15
- macos-latest - macos-latest
fail-fast: false fail-fast: false
@@ -325,13 +326,14 @@ jobs:
strategy: strategy:
matrix: matrix:
os: os:
- macos-13
- macos-14 - macos-14
- macos-15
compiler: compiler:
- gcc@11 - gcc@11
- gcc@12 - gcc@12
- gcc@13 - gcc@13
- gcc@14 # Don't use 'gcc', the symlink is versioned -- see below - gcc@14
- gcc@15 # Don't use 'gcc', the symlink is versioned -- see below
fail-fast: false fail-fast: false
# Steps represent a sequence of tasks that will be executed as part of the job # Steps represent a sequence of tasks that will be executed as part of the job
@@ -384,7 +386,7 @@ jobs:
meson compile -C build meson compile -C build
size-diff: size-diff:
runs-on: ubuntu-22.04 runs-on: ubuntu-24.04
steps: steps:
# Build a suitable runtime environment # Build a suitable runtime environment
@@ -400,12 +402,12 @@ jobs:
- name: Setup ARM GCC - name: Setup ARM GCC
uses: carlosperate/arm-none-eabi-gcc-action@v1 uses: carlosperate/arm-none-eabi-gcc-action@v1
with: with:
release: '12.2.Rel1' release: '14.2.Rel1'
# Install and setup a suitable Meson + Ninja # Install and setup a suitable Meson + Ninja
- name: Setup Meson + Ninja - name: Setup Meson + Ninja
run: | run: |
sudo python3 -m pip install --upgrade pip setuptools wheel sudo apt install -y python3-pip python3-setuptools python3-wheel
sudo python3 -m pip install meson ninja sudo python3 -m pip install meson ninja
working-directory: ${{ runner.temp }} working-directory: ${{ runner.temp }}