Skip to content

Commit

Permalink
.github/workflows: set runner OS to Ubuntu 22.04
Browse files Browse the repository at this point in the history
The GitHub hosted runners now default to Ubuntu 24.04, which results
in multiple, smaller failures in the C/C++ build and test workflow.

Signed-off-by: Peter Colberg <peter.colberg@altera.com>
  • Loading branch information
pcolberg committed Jan 16, 2025
1 parent 45d358f commit c6dea9c
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-debs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
matrix:
distro: [ubuntu22]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Build ${{ matrix.distro }}
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-rpms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
matrix:
distro: [fedora39, fedora40, rockylinux8, rockylinux9]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Build ${{ matrix.distro }}
steps:
- uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ccpp-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ on:

jobs:
coding-style:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
lang-type: [c, cpp]
Expand All @@ -64,7 +64,7 @@ jobs:
- name: test ${{ matrix.lang-type }}
run: ${{ github.workspace }}/scripts/test-codingstyle-all.sh ${{ matrix.lang-type }}
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
build-type: [Debug, Release, RelWithDebInfo]
Expand All @@ -91,7 +91,7 @@ jobs:
- name: make ${{ matrix.build-type }}
run: cd ${{ github.workspace }}/.build && make -j $(nproc)
test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: bugfix
Expand All @@ -118,7 +118,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: unittests/coverage.info.cleaned
build-doc:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: update
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-rpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
- .github/workflows/docker-rpm.yml
jobs:
build_docker_image:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Build a Docker image and RPM file
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/no-ccpp-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
build-type: [Debug, Release, RelWithDebInfo]
steps:
- run: exit 0
test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- run: exit 0
2 changes: 1 addition & 1 deletion .github/workflows/no-python-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
analyze:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pacsign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- '.github/workflows/pacsign.yml'
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

jobs:
analyze:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit c6dea9c

Please sign in to comment.