Skip to content

Commit fd7e509

Browse files
committed
[ci] run unit tests with platform CCM one-shot enabled
Add a standalone job to build and test simulation preset with OPENTHREAD_CONFIG_CRYPTO_PLATFORM_CCM_ONE_SHOT_ENABLE=1
1 parent 20c782f commit fd7e509

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,25 @@ jobs:
107107
cmake --build --preset simulation
108108
ctest --preset simulation
109109
110+
cmake-presets-ccm-one-shot:
111+
runs-on: ubuntu-24.04
112+
steps:
113+
- name: Harden Runner
114+
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
115+
with:
116+
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
117+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
118+
with:
119+
submodules: recursive
120+
- name: Bootstrap
121+
run: |
122+
sudo apt-get --no-install-recommends install -y build-essential ninja-build libreadline-dev libncurses-dev
123+
- name: Build and test with platform CCM one-shot enabled
124+
run: |
125+
cmake --preset simulation -DOT_CRYPTO_CCM_ONE_SHOT=ON
126+
cmake --build --preset simulation
127+
ctest --preset simulation
128+
110129
cmake-version:
111130
runs-on: ubuntu-24.04
112131
steps:

0 commit comments

Comments
 (0)