Update CI runners to Ubuntu 24.04 and macOS Sonoma (#3208)

This commit is contained in:
itchyny authored and GitHub committed 2025-05-18 08:06:16 +09:00
1 parent eff9caf6c7
commit ecea2d29bd
4 files changed
+6 -8

No files matched your search

+2 -4
View File
@@ -65,7 +65,7 @@ jobs:
CC: riscv64-linux-gnu CC: riscv64-linux-gnu
- arch: s390x - arch: s390x
CC: s390x-linux-gnu CC: s390x-linux-gnu
runs-on: ubuntu-22.04 runs-on: ${{ matrix.arch == 'i386' && 'ubuntu-22.04' || 'ubuntu-24.04' }}
env: env:
AR: ${{ matrix.CC }}-ar AR: ${{ matrix.CC }}-ar
CHOST: ${{ matrix.CC }} CHOST: ${{ matrix.CC }}
@@ -130,7 +130,7 @@ jobs:
target: x86_64-apple-darwin target: x86_64-apple-darwin
- arch: arm64 - arch: arm64
target: arm64-apple-darwin target: arm64-apple-darwin
runs-on: macos-13 runs-on: macos-14
env: env:
LDFLAGS: -dead_strip LDFLAGS: -dead_strip
SUFFIX: macos-${{ matrix.arch }} SUFFIX: macos-${{ matrix.arch }}
@@ -163,8 +163,6 @@ jobs:
file ./jq file ./jq
cp ./jq jq-${{ env.SUFFIX }} cp ./jq jq-${{ env.SUFFIX }}
- name: Test - name: Test
# Only run tests for amd64 matching the CI machine arch
if: ${{ matrix.arch == 'amd64' }}
run: | run: |
make check VERBOSE=yes make check VERBOSE=yes
git diff --exit-code git diff --exit-code
+1 -1
View File
@@ -7,7 +7,7 @@ on:
jobs: jobs:
disabled: disabled:
runs-on: ubuntu-22.04 runs-on: ubuntu-24.04
steps: steps:
- name: Clone repository - name: Clone repository
uses: actions/checkout@v4 uses: actions/checkout@v4
+2 -2
View File
@@ -9,7 +9,7 @@ on:
# we test other options for --with-oniguruma here. # we test other options for --with-oniguruma here.
jobs: jobs:
installed: installed:
runs-on: ubuntu-22.04 runs-on: ubuntu-24.04
steps: steps:
- name: Clone repository - name: Clone repository
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -42,7 +42,7 @@ jobs:
tests/*.log tests/*.log
disabled: disabled:
runs-on: ubuntu-22.04 runs-on: ubuntu-24.04
steps: steps:
- name: Clone repository - name: Clone repository
uses: actions/checkout@v4 uses: actions/checkout@v4
+1 -1
View File
@@ -7,7 +7,7 @@ on:
jobs: jobs:
linux: linux:
runs-on: ubuntu-22.04 runs-on: ubuntu-24.04
steps: steps:
- name: Clone repository - name: Clone repository
uses: actions/checkout@v4 uses: actions/checkout@v4