[github-actions] migrate ubuntu runners to 24.04 (#10795)

This commit is contained in:
Jonathan Hui
2024-11-01 11:27:24 -07:00
committed by GitHub
parent 8b3e51276b
commit 82eaf47b20
14 changed files with 87 additions and 80 deletions
+17 -17
View File
@@ -46,7 +46,7 @@ permissions:
jobs:
pretty:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
@@ -62,7 +62,7 @@ jobs:
cache: pip
- name: Bootstrap
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y clang-format-14 clang-tidy-14 shellcheck
python3 -m pip install yapf==0.31.0
sudo snap install shfmt
@@ -88,7 +88,7 @@ jobs:
fail_on_error: true
spell-check:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
@@ -111,7 +111,7 @@ jobs:
script/code-spell check
cmake-version:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
@@ -138,7 +138,7 @@ jobs:
package:
name: package-${{ matrix.compiler }}
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
@@ -163,14 +163,14 @@ jobs:
submodules: true
- name: Bootstrap
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y ninja-build libreadline-dev libncurses-dev
- name: Package
run: |
script/test package
scan-build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
@@ -182,14 +182,14 @@ jobs:
submodules: true
- name: Bootstrap
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y clang-tools-14 ninja-build
- name: Run
run: |
script/check-scan-build
mbedtls2-build:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
@@ -214,7 +214,7 @@ jobs:
arm-gcc:
name: arm-gcc-${{ matrix.gcc_ver }}
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
@@ -258,7 +258,7 @@ jobs:
- name: Bootstrap
run: |
cd /tmp
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y build-essential lib32z1 ninja-build gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf
wget --tries 4 --no-check-certificate --quiet ${{ matrix.gcc_download_url }} -O gcc-arm
tar xf gcc-arm
@@ -279,7 +279,7 @@ jobs:
gcc:
name: gcc-${{ matrix.gcc_ver }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
@@ -298,7 +298,7 @@ jobs:
submodules: true
- name: Bootstrap
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
case ${{ matrix.gcc_ver }} in
11)
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
@@ -312,7 +312,7 @@ jobs:
clang:
name: clang-${{ matrix.clang_ver }}
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
@@ -342,7 +342,7 @@ jobs:
script/check-posix-build
gn:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
@@ -354,7 +354,7 @@ jobs:
submodules: true
- name: Bootstrap
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y ninja-build
cd /tmp
wget -O gn.zip https://chrome-infra-packages.appspot.com/dl/gn/gn/linux-amd64/+/latest
@@ -400,7 +400,7 @@ jobs:
android-ndk:
name: android-ndk
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
container:
image: openthread/environment
steps:
+1 -1
View File
@@ -47,7 +47,7 @@ jobs:
buildx:
name: buildx-${{ matrix.docker_name }}
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
+1 -1
View File
@@ -42,7 +42,7 @@ permissions: # added using https://github.com/step-security/secure-workflows
jobs:
Fuzzing:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
+1 -1
View File
@@ -45,7 +45,7 @@ permissions: # added using https://github.com/step-security/secure-workflows
jobs:
makefile-check:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
+3 -3
View File
@@ -46,7 +46,7 @@ permissions:
jobs:
backbone-router:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
REFERENCE_DEVICE: 1
VIRTUAL_TIME: 0
@@ -111,7 +111,7 @@ jobs:
retention-days: 1
thread-border-router:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
@@ -236,7 +236,7 @@ jobs:
needs:
- backbone-router
- thread-border-router
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
+2 -2
View File
@@ -47,7 +47,7 @@ jobs:
cli-sim:
name: cli-sim VIRTUAL_TIME=${{ matrix.virtual_time }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
@@ -68,7 +68,7 @@ jobs:
cache: pip
- name: Bootstrap
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y ninja-build
python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
python3 -m pip install pytype adb-shell
+7 -7
View File
@@ -55,7 +55,7 @@ jobs:
unittests:
name: Unittests
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
@@ -72,7 +72,7 @@ jobs:
python-version: "3.9"
- name: Bootstrap
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y lcov ninja-build
- name: Run
run: |
@@ -100,7 +100,7 @@ jobs:
examples:
name: Examples
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
@@ -112,7 +112,7 @@ jobs:
python-version: "3.9"
- name: Bootstrap
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y lcov ninja-build
- name: Run
run: |
@@ -139,7 +139,7 @@ jobs:
stress-tests:
name: Stress ${{ matrix.suite }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
@@ -174,7 +174,7 @@ jobs:
python-version: "3.9"
- name: Bootstrap
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y lcov ninja-build
- name: Run
run: |
@@ -205,7 +205,7 @@ jobs:
- unittests
- examples
- stress-tests
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
+13 -9
View File
@@ -46,7 +46,7 @@ permissions:
jobs:
expects-linux:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
CFLAGS: -DCLI_COAP_SECURE_USE_COAP_DEFAULT_HANDLER=1 -DOPENTHREAD_CONFIG_MLE_MAX_CHILDREN=15
CXXFLAGS: -DCLI_COAP_SECURE_USE_COAP_DEFAULT_HANDLER=1 -DOPENTHREAD_CONFIG_MLE_MAX_CHILDREN=15
@@ -57,6 +57,10 @@ jobs:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: '3.12'
cache: pip
- name: Bootstrap
run: |
sudo apt-get --no-install-recommends install -y expect ninja-build lcov socat
@@ -92,7 +96,7 @@ jobs:
retention-days: 1
- name: Run TUN Mode
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
echo 0 | sudo tee /proc/sys/net/ipv6/conf/all/disable_ipv6
sudo apt-get install --no-install-recommends -y bind9-host ntp socat
sudo systemctl restart ntp
@@ -130,7 +134,7 @@ jobs:
retention-days: 1
thread-cert:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
COVERAGE: 1
PYTHONUNBUFFERED: 1
@@ -151,7 +155,7 @@ jobs:
cache: pip
- name: Bootstrap
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y lcov ninja-build
python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
- name: Build
@@ -175,7 +179,7 @@ jobs:
pty-linux:
name: pty-linux OT_DAEMON=${{ matrix.OT_DAEMON }}
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
@@ -193,8 +197,8 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Bootstrap
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get --no-install-recommends install -y socat expect lcov net-tools ninja-build
sudo apt-get update
sudo apt-get --no-install-recommends install -y socat expect lcov libreadline-dev net-tools ninja-build
cd /tmp
wget https://github.com/obgm/libcoap/archive/bsd-licensed.tar.gz
tar xvf bsd-licensed.tar.gz
@@ -263,7 +267,7 @@ jobs:
script/check-posix-pty check
rcp-stack-reset:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
@@ -297,7 +301,7 @@ jobs:
- expects-linux
- pty-linux
- thread-cert
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
+17 -14
View File
@@ -46,7 +46,7 @@ permissions:
jobs:
packet-verification:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
PACKET_VERIFICATION: 1
REFERENCE_DEVICE: 1
@@ -68,7 +68,7 @@ jobs:
cache: pip
- name: Bootstrap
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y ninja-build lcov
python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
- name: Build
@@ -97,7 +97,7 @@ jobs:
retention-days: 1
cli-ftd:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
CFLAGS: -m32
CXXFLAGS: -m32
@@ -121,7 +121,7 @@ jobs:
cache: pip
- name: Bootstrap
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y lcov ninja-build g++-multilib
python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
- name: Build
@@ -146,7 +146,7 @@ jobs:
cli-mtd:
name: cli-mtd MESSAGE_USE_HEAP=${{ matrix.message_use_heap }}
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
@@ -176,7 +176,7 @@ jobs:
cache: pip
- name: Bootstrap
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y lcov ninja-build g++-multilib
python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
- name: Build
@@ -200,7 +200,7 @@ jobs:
retention-days: 1
cli-time-sync:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
CFLAGS: -m32
CXXFLAGS: -m32
@@ -224,7 +224,7 @@ jobs:
cache: pip
- name: Bootstrap
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y g++-multilib lcov ninja-build
python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
- name: Build
@@ -248,7 +248,7 @@ jobs:
retention-days: 1
expects:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
CFLAGS: -DCLI_COAP_SECURE_USE_COAP_DEFAULT_HANDLER=1 -DOPENTHREAD_CONFIG_MLE_MAX_CHILDREN=15
CXXFLAGS: -DCLI_COAP_SECURE_USE_COAP_DEFAULT_HANDLER=1 -DOPENTHREAD_CONFIG_MLE_MAX_CHILDREN=15
@@ -295,7 +295,7 @@ jobs:
retention-days: 1
ot-commissioner:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
THREAD_VERSION: 1.1
steps:
@@ -307,11 +307,14 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: true
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: '3.12'
cache: pip
- name: Bootstrap
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
run: |
sudo rm /etc/apt/sources.list.d/*
sudo apt-get update
sudo apt-get install -y avahi-daemon avahi-utils lcov
script/git-tool clone https://github.com/openthread/ot-commissioner.git /tmp/ot-commissioner --depth 1 --branch main
@@ -345,7 +348,7 @@ jobs:
retention-days: 1
multiple-instance:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
COVERAGE: 1
THREAD_VERSION: 1.1
@@ -389,7 +392,7 @@ jobs:
retention-days: 1
simulation-local-host:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
COVERAGE: 1
steps:
@@ -425,7 +428,7 @@ jobs:
- expects
- ot-commissioner
- multiple-instance
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
+13 -13
View File
@@ -47,7 +47,7 @@ jobs:
thread-1-4:
name: thread-1-4-${{ matrix.compiler.c }}-${{ matrix.arch }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
CFLAGS: -${{ matrix.arch }}
CXXFLAGS: -${{ matrix.arch }}
@@ -62,7 +62,7 @@ jobs:
strategy:
fail-fast: false
matrix:
compiler: [{c: "gcc", cxx: "g++", gcov: "gcc"}, { c: "clang-10", cxx: "clang++-10", gcov: "llvm"}]
compiler: [{c: "gcc", cxx: "g++", gcov: "gcc"}, { c: "clang", cxx: "clang++", gcov: "llvm"}]
arch: ["m32", "m64"]
steps:
- name: Harden Runner
@@ -81,7 +81,7 @@ jobs:
run: |
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get --no-install-recommends install -y clang-10 clang++-10 ninja-build llvm lcov
sudo apt-get --no-install-recommends install -y ninja-build llvm lcov
sudo apt-get --no-install-recommends install -y g++-multilib libreadline-dev:i386 libncurses-dev:i386
python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
- name: Build
@@ -120,7 +120,7 @@ jobs:
retention-days: 1
packet-verification-low-power:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
REFERENCE_DEVICE: 1
VIRTUAL_TIME: 1
@@ -145,7 +145,7 @@ jobs:
cache: pip
- name: Bootstrap
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y ninja-build lcov
python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
- name: Build
@@ -197,7 +197,7 @@ jobs:
retention-days: 1
packet-verification-1-1-on-1-4:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
REFERENCE_DEVICE: 1
VIRTUAL_TIME: 1
@@ -220,7 +220,7 @@ jobs:
cache: pip
- name: Bootstrap
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y ninja-build lcov
python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
- name: Build
@@ -249,7 +249,7 @@ jobs:
retention-days: 1
channel-manager-csl:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
CFLAGS: -m32
CXXFLAGS: -m32
@@ -272,7 +272,7 @@ jobs:
cache: pip
- name: Bootstrap
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y g++-multilib lcov ninja-build
python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
- name: Build
@@ -297,7 +297,7 @@ jobs:
retention-days: 1
expects:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
COVERAGE: 1
THREAD_VERSION: 1.4
@@ -346,7 +346,7 @@ jobs:
retention-days: 1
thread-1-4-posix:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
COVERAGE: 1
PYTHONUNBUFFERED: 1
@@ -371,7 +371,7 @@ jobs:
cache: pip
- name: Bootstrap
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y libreadline6-dev ninja-build llvm lcov
python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
- name: Build
@@ -420,7 +420,7 @@ jobs:
- packet-verification-1-1-on-1-4
- expects
- thread-1-4-posix
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
+1 -1
View File
@@ -46,7 +46,7 @@ permissions:
jobs:
size-report:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
+6 -6
View File
@@ -47,7 +47,7 @@ jobs:
toranj-ncp:
name: toranj-ncp-${{ matrix.TORANJ_RADIO }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
@@ -74,7 +74,7 @@ jobs:
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y ninja-build lcov
python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
- name: Build & Run
@@ -84,7 +84,7 @@ jobs:
toranj-cli:
name: toranj-cli-${{ matrix.TORANJ_RADIO }}
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
strategy:
matrix:
TORANJ_RADIO: ['15.4', 'trel', 'multi']
@@ -109,7 +109,7 @@ jobs:
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y ninja-build lcov
python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
- name: Build & Run
@@ -128,7 +128,7 @@ jobs:
toranj-unittest:
name: toranj-unittest
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
@@ -217,7 +217,7 @@ jobs:
upload-coverage:
needs:
- toranj-cli
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
+4 -4
View File
@@ -46,7 +46,7 @@ permissions: # added using https://github.com/step-security/secure-workflows
jobs:
tcplp-buffering:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
@@ -62,7 +62,7 @@ jobs:
run: third_party/tcplp/lib/test/test_all
unit-tests:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
COVERAGE: 1
steps:
@@ -76,7 +76,7 @@ jobs:
submodules: true
- name: Bootstrap
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y ninja-build lcov
- name: Build Simulation
run: ./script/cmake-build simulation -DOT_BUILD_GTEST=ON -DOT_BORDER_ROUTING=ON -DOT_BORDER_ROUTING_DHCP6_PD=ON
@@ -106,7 +106,7 @@ jobs:
upload-coverage:
needs: unit-tests
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
+1 -1
View File
@@ -42,7 +42,7 @@ permissions: # added using https://github.com/step-security/secure-workflows
jobs:
api-version:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1