Skip to content

Commit

Permalink
ci: Use Ubuntu 22.04
Browse files Browse the repository at this point in the history
This commit updates the CI workflows to use the GitHub Ubuntu 22.04
virtual environment for running jobs.

Signed-off-by: Stephanos Ioannidis <[email protected]>
  • Loading branch information
stephanosio committed Apr 13, 2023
1 parent 006f16d commit b1e4116
Show file tree
Hide file tree
Showing 22 changed files with 23 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
backport:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: Backport
steps:
- name: Backport
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bsim-tests-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
bsim-test-results:
name: "Publish BabbleSim Test Results"
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.event.workflow_run.conclusion != 'skipped'

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bug_snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:
make_bugs_pickle:
name: Make bugs pickle
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.repository_owner == 'zephyrproject-rtos'

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
clang-build-results:
name: "Publish Unit Tests Results"
needs: clang-build
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: (success() || failure() ) && needs.clang-build.outputs.report_needed != 0
steps:
- name: Download Artifacts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
codecov-results:
name: "Publish Coverage Results"
needs: codecov
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
# the codecov job might be skipped, we don't need to run this job then
if: success() || failure()

Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/coding_guidelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: pull_request

jobs:
compliance_job:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: Run coding guidelines checks on patch series (PR)
steps:
- name: Checkout the code
Expand All @@ -28,9 +28,7 @@ jobs:
- name: Install Packages
run: |
sudo apt-get update
sudo apt-get install ocaml-base-nox
wget https://launchpad.net/~npalix/+archive/ubuntu/coccinelle/+files/coccinelle_1.0.8~20.04npalix1_amd64.deb
sudo dpkg -i coccinelle_1.0.8~20.04npalix1_amd64.deb
sudo apt-get install coccinelle
- name: Run Coding Guildeines Checks
continue-on-error: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: pull_request

jobs:
check_compliance:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: Run compliance checks on patch series (PR)
steps:
- name: Update PATH for west
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily_test_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
get_version:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.repository == 'zephyrproject-rtos/zephyr'

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/devicetree_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
strategy:
matrix:
python-version: [3.8, 3.9, '3.10']
os: [ubuntu-20.04, macos-11, windows-2022]
os: [ubuntu-22.04, macos-11, windows-2022]
exclude:
- os: macos-11
python-version: 3.6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/do_not_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
do-not-merge:
if: ${{ contains(github.event.*.labels.*.name, 'DNM') }}
name: Prevent Merging
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check for label
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
doc-build-pdf:
name: "Documentation Build (PDF)"
if: github.event_name != 'pull_request'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
container: texlive/texlive:latest
timeout-minutes: 60
concurrency:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/errno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
check-errno:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
container:
image: ghcr.io/zephyrproject-rtos/ci:v0.25.0
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/footprint-tracking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:

jobs:
footprint-tracking:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.repository == 'zephyrproject-rtos/zephyr'
container:
image: ghcr.io/zephyrproject-rtos/ci:v0.25.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/footprint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ concurrency:

jobs:
footprint-delta:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.repository == 'zephyrproject-rtos/zephyr'
container:
image: ghcr.io/zephyrproject-rtos/ci:v0.25.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue_count.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
jobs:
track-issues:
name: "Collect Issue Stats"
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.repository == 'zephyrproject-rtos/zephyr'

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/license_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [pull_request]

jobs:
scancode_job:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: Scan code for licenses
steps:
- name: Checkout the code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
release:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale-workflow-queue-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:
jobs:
cleanup:
name: Cleanup
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Delete stale queued workflow runs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
stale:
name: Find Stale issues and PRs
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.repository == 'zephyrproject-rtos/zephyr'
steps:
- uses: actions/stale@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/twister.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ jobs:
ELASTICSEARCH_KEY: ${{ secrets.ELASTICSEARCH_KEY }}
ELASTICSEARCH_SERVER: "https://elasticsearch.zephyrproject.io:443"
needs: twister-build
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
# the build-and-test job might be skipped, we don't need to run this job then
if: success() || failure()

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/twister_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
strategy:
matrix:
python-version: [3.8, 3.9, '3.10']
os: [ubuntu-20.04]
os: [ubuntu-22.04]
steps:
- name: checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/west_cmds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
strategy:
matrix:
python-version: [3.8, 3.9, '3.10']
os: [ubuntu-20.04, macos-11, windows-2022]
os: [ubuntu-22.04, macos-11, windows-2022]
exclude:
- os: macos-11
python-version: 3.6
Expand Down

0 comments on commit b1e4116

Please sign in to comment.