Skip to content

Commit baa292f

Browse files
workflows/CI: Use ubuntu-20.04 instead of ubuntu-latest
GitHub has updated ubuntu-latest to use Ubuntu 24.04, and the version of CMake shipped with it breaks googletest due to incompatibility with CMake versions < 3.5, while googletest specifies a cmake_minimum_required version of 2.6.2. Explicitly specify the Ubuntu version as 20.04 instead of using ubuntu-latest on the workflows jobs. Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
1 parent 4ce8819 commit baa292f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
differential-shellcheck:
1515
name: Differential ShellCheck
1616
if: github.event_name == 'pull_request'
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-22.04
1818

1919
permissions:
2020
contents: read
@@ -33,7 +33,7 @@ jobs:
3333

3434
flake8-lint:
3535
name: Lint
36-
runs-on: ubuntu-latest
36+
runs-on: ubuntu-22.04
3737
steps:
3838
- name: Install flake8 dependencies
3939
run: |
@@ -52,7 +52,7 @@ jobs:
5252

5353
checkpatch:
5454
name: Checkpatch Review
55-
runs-on: ubuntu-latest
55+
runs-on: ubuntu-22.04
5656
if: github.event_name == 'pull_request'
5757

5858
permissions:
@@ -75,7 +75,7 @@ jobs:
7575
name: Doxygen
7676
# Only run Doxygen against the main branch
7777
if: github.ref_name == 'main'
78-
runs-on: ubuntu-latest
78+
runs-on: ubuntu-22.04
7979

8080
steps:
8181
- uses: actions/checkout@v4
@@ -96,7 +96,7 @@ jobs:
9696

9797
unittests:
9898
name: Unit Tests
99-
runs-on: ubuntu-latest
99+
runs-on: ubuntu-22.04
100100

101101
steps:
102102
- uses: actions/checkout@v4
@@ -422,7 +422,7 @@ jobs:
422422
if: ${{ always() }}
423423
needs: [unittests, functionaltestsv1, functionaltestsv1v2, functionaltestsv2,
424424
nosystemd]
425-
runs-on: ubuntu-latest
425+
runs-on: ubuntu-22.04
426426
steps:
427427
- name: Finalize code coverage results
428428
uses: coverallsapp/github-action@master

0 commit comments

Comments
 (0)