Skip to content

Commit

Permalink
GitHub Actions: remove ubuntu-20.04 runner
Browse files Browse the repository at this point in the history
The Ubuntu 20.04 Actions runner image is being deprecated and will be fully unsupported by 2025-04-01

Reference: actions/runner-images#11101

Signed-off-by: leleliu008 <[email protected]>
  • Loading branch information
leleliu008 committed Mar 9, 2025
1 parent f272e5c commit d27587c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cross-compile-for-android-on-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
build-machine-os: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04]
build-machine-os: [ubuntu-24.04, ubuntu-22.04]

runs-on: ${{ matrix.build-machine-os }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cross-compile-for-windows-on-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
build-machine-os: [ubuntu-22.04, ubuntu-20.04]
build-machine-os: [ubuntu-22.04, ubuntu-24.04]
target: [i686-w64-mingw32,x86_64-w64-mingw32]

runs-on: ${{ matrix.build-machine-os }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/testing-on-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04]
os: [ubuntu-24.04, ubuntu-22.04]
compiler: [gcc, clang]

runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
type clang > /dev/null && clang --version | head -1 | grep -q 14 \
|| sudo apt-get -y -o APT::Immediate-Configure=false install valgrind
- name: install lcov
if: matrix.compiler == 'gcc' && matrix.os == 'ubuntu-20.04'
if: matrix.compiler == 'gcc' && matrix.os == 'ubuntu-22.04'
run: sudo apt-get -y -o APT::Immediate-Configure=false install lcov
- name: autogen.sh
run: ./autogen.sh
Expand All @@ -54,7 +54,7 @@ jobs:
mkdir -p ${{ matrix.os }}-"$CC"
(
cd $BUILDDIR
if [ ${{ matrix.compiler }} = 'gcc' -a ${{ matrix.os }} = 'ubuntu-20.04' ]; then
if [ ${{ matrix.compiler }} = 'gcc' -a ${{ matrix.os }} = 'ubuntu-22.04' ]; then
extra_args=--enable-coverage-gcov
fi
../configure --enable-debugging --enable-iconv ${extra_args}
Expand Down Expand Up @@ -96,11 +96,11 @@ jobs:
make -C ${BUILDDIR} clean
)
- name: prepare coverage info
if: matrix.compiler == 'gcc' && matrix.os == 'ubuntu-20.04'
if: matrix.compiler == 'gcc' && matrix.os == 'ubuntu-22.04'
run: |
(cd ${BUILDDIR}; lcov -c -b . -d . -o coverage.info)
- name: send coverage info
if: matrix.compiler == 'gcc' && matrix.os == 'ubuntu-20.04'
if: matrix.compiler == 'gcc' && matrix.os == 'ubuntu-22.04'
uses: codecov/codecov-action@v5
with:
files: ${{ env.BUILDDIR }}/coverage.info
Expand Down

0 comments on commit d27587c

Please sign in to comment.