@@ -8,23 +8,22 @@ concurrency:
8
8
9
9
jobs :
10
10
clang-build :
11
- if : github.repository_owner == 'zephyrproject-rtos'
12
- runs-on :
13
- group : zephyr-runner-v2-linux-x64-4xlarge
11
+ runs-on : ubuntu-latest
14
12
container :
15
- image : ghcr.io/zephyrproject-rtos/ci-repo-cache :v0.26.9.20240223
13
+ image : ghcr.io/zephyrproject-rtos/ci:v0.26.11
16
14
options : ' --entrypoint /bin/bash'
15
+ volumes :
16
+ - /repo-cache/zephyrproject:/github/cache/zephyrproject
17
17
strategy :
18
18
fail-fast : false
19
19
matrix :
20
- platform : ["native_sim"]
20
+ platform : ["native_sim/native"]
21
+ subset : [1, 2, 3, 4, 5]
21
22
env :
22
- CCACHE_DIR : /node-cache/ccache-zephyr
23
- CCACHE_REMOTE_STORAGE : " redis://cache-*.keydb-cache.svc.cluster.local|shards=1,2,3"
24
- CCACHE_REMOTE_ONLY : " true"
25
23
LLVM_TOOLCHAIN_PATH : /usr/lib/llvm-16
26
24
COMMIT_RANGE : ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
27
25
BASE_REF : ${{ github.base_ref }}
26
+ MATRIX_SIZE : 5
28
27
outputs :
29
28
report_needed : ${{ steps.twister.outputs.report_needed }}
30
29
steps :
36
35
# GitHub comes up with a fundamental fix for this problem.
37
36
git config --global --add safe.directory ${GITHUB_WORKSPACE}
38
37
39
- - name : Print cloud service information
40
- run : |
41
- echo "ZEPHYR_RUNNER_CLOUD_PROVIDER = ${ZEPHYR_RUNNER_CLOUD_PROVIDER}"
42
- echo "ZEPHYR_RUNNER_CLOUD_NODE = ${ZEPHYR_RUNNER_CLOUD_NODE}"
43
- echo "ZEPHYR_RUNNER_CLOUD_POD = ${ZEPHYR_RUNNER_CLOUD_POD}"
44
-
45
38
- name : Clone cached Zephyr repository
46
39
continue-on-error : true
47
40
run : |
82
75
gcc --version
83
76
ls -la
84
77
85
- - name : Set up ccache
86
- run : |
87
- mkdir -p ${CCACHE_DIR}
88
- ccache -M 10G
89
- ccache -p
90
- ccache -z -s -vv
91
-
92
78
- name : Update BabbleSim to manifest revision
93
79
run : |
94
80
export BSIM_VERSION=$( west list bsim -f {revision} )
@@ -118,11 +104,6 @@ jobs:
118
104
echo "report_needed=0" >> $GITHUB_OUTPUT
119
105
fi
120
106
121
- - name : Print ccache stats
122
- if : always()
123
- run : |
124
- ccache -s -vv
125
-
126
107
- name : Upload Unit Test Results
127
108
if : always() && steps.twister.outputs.report_needed != 0
128
109
uses : actions/upload-artifact@v4
0 commit comments