File tree Expand file tree Collapse file tree 8 files changed +26
-13
lines changed Expand file tree Collapse file tree 8 files changed +26
-13
lines changed Original file line number Diff line number Diff line change 38
38
- /repo-cache/zephyrproject:/github/cache/zephyrproject
39
39
env :
40
40
ZEPHYR_TOOLCHAIN_VARIANT : zephyr
41
- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.4
42
41
BSIM_OUT_PATH : /opt/bsim/
43
42
BSIM_COMPONENTS_PATH : /opt/bsim/components
44
43
EDTT_PATH : ../tools/edtt
82
81
west update --path-cache /github/cache/zephyrproject 2>&1 1> west.update.log || west update --path-cache /github/cache/zephyrproject 2>&1 1> west.update.log || ( rm -rf ../modules ../bootloader ../tools && west update --path-cache /github/cache/zephyrproject)
83
82
west forall -c 'git reset --hard HEAD'
84
83
84
+ echo "ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-$( cat SDK_VERSION )" >> $GITHUB_ENV
85
+
85
86
- name : Check common triggering files
86
87
uses : tj-actions/changed-files@v41
87
88
id : check-common-files
Original file line number Diff line number Diff line change 20
20
matrix :
21
21
platform : ["native_sim"]
22
22
env :
23
- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.4
24
23
LLVM_TOOLCHAIN_PATH : /usr/lib/llvm-16
25
24
COMMIT_RANGE : ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
26
25
BASE_REF : ${{ github.base_ref }}
66
65
# west caching).
67
66
west update --path-cache /github/cache/zephyrproject 2>&1 1> west.log || west update --path-cache /github/cache/zephyrproject 2>&1 1> west2.log || ( rm -rf ../modules ../bootloader ../tools && west update --path-cache /github/cache/zephyrproject)
68
67
68
+ echo "ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-$( cat SDK_VERSION )" >> $GITHUB_ENV
69
+
69
70
- name : Check Environment
70
71
run : |
71
72
cmake --version
Original file line number Diff line number Diff line change 21
21
fail-fast : false
22
22
matrix :
23
23
platform : ["mps2_an385", "native_sim", "qemu_x86", "unit_testing"]
24
- env :
25
- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.4
26
24
steps :
27
25
- name : Apply container owner mismatch workaround
28
26
run : |
@@ -52,11 +50,14 @@ jobs:
52
50
west init -l . || true
53
51
west update 1> west.update.log || west update 1> west.update-2.log
54
52
55
- - name : Check Environment
53
+ - name : Environment Setup
56
54
run : |
57
55
cmake --version
58
56
gcc --version
59
57
ls -la
58
+
59
+ echo "ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-$( cat SDK_VERSION )" >> $GITHUB_ENV
60
+
60
61
- name : Prepare ccache keys
61
62
id : ccache_cache_prop
62
63
shell : cmake -P {0}
Original file line number Diff line number Diff line change 11
11
runs-on : ubuntu-22.04
12
12
container :
13
13
image : ghcr.io/zephyrproject-rtos/ci:v0.26.6
14
- env :
15
- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.4
16
14
17
15
steps :
18
16
- name : Apply container owner mismatch workaround
26
24
- name : checkout
27
25
uses : actions/checkout@v3
28
26
27
+ - name : Environment Setup
28
+ run : |
29
+ echo "ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-$( cat SDK_VERSION )" >> $GITHUB_ENV
30
+
29
31
- name : Run errno.py
30
32
run : |
31
33
export ZEPHYR_BASE=${PWD}
Original file line number Diff line number Diff line change 30
30
strategy :
31
31
fail-fast : false
32
32
env :
33
- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.4
34
33
ZEPHYR_TOOLCHAIN_VARIANT : zephyr
35
34
steps :
36
35
- name : Apply container owner mismatch workaround
57
56
ref : ${{ github.event.pull_request.head.sha }}
58
57
fetch-depth : 0
59
58
59
+ - name : Environment Setup
60
+ run : |
61
+ echo "ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-$( cat SDK_VERSION )" >> $GITHUB_ENV
62
+
60
63
- name : west setup
61
64
run : |
62
65
west init -l . || true
Original file line number Diff line number Diff line change 16
16
strategy :
17
17
fail-fast : false
18
18
env :
19
- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.4
20
19
ZEPHYR_TOOLCHAIN_VARIANT : zephyr
21
20
steps :
22
21
- name : Apply container owner mismatch workaround
37
36
ref : ${{ github.event.pull_request.head.sha }}
38
37
fetch-depth : 0
39
38
39
+ - name : Environment Setup
40
+ run : |
41
+ echo "ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-$( cat SDK_VERSION )" >> $GITHUB_ENV
42
+
40
43
- name : west setup
41
44
run : |
42
45
west init -l . || true
Original file line number Diff line number Diff line change 36
36
MATRIX_SIZE : 10
37
37
PUSH_MATRIX_SIZE : 15
38
38
DAILY_MATRIX_SIZE : 80
39
- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.4
40
39
BSIM_OUT_PATH : /opt/bsim/
41
40
BSIM_COMPONENTS_PATH : /opt/bsim/components
42
41
TESTS_PER_BUILDER : 700
80
79
west update --path-cache /github/cache/zephyrproject 2>&1 1> west.update.log || west update --path-cache /github/cache/zephyrproject 2>&1 1> west.update.log || ( rm -rf ../modules ../bootloader ../tools && west update --path-cache /github/cache/zephyrproject)
81
80
west forall -c 'git reset --hard HEAD'
82
81
82
+ echo "ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-$( cat SDK_VERSION )" >> $GITHUB_ENV
83
+
83
84
- name : Generate Test Plan with Twister
84
85
if : github.event_name == 'pull_request_target'
85
86
id : test-plan
@@ -131,7 +132,6 @@ jobs:
131
132
matrix :
132
133
subset : ${{fromJSON(needs.twister-build-prep.outputs.subset)}}
133
134
env :
134
- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.4
135
135
BSIM_OUT_PATH : /opt/bsim/
136
136
BSIM_COMPONENTS_PATH : /opt/bsim/components
137
137
TWISTER_COMMON : ' --force-color --inline-logs -v -N -M --retry-failed 3 '
@@ -185,6 +185,8 @@ jobs:
185
185
wget -c https://github.com/Kitware/ninja/releases/download/v1.11.1.g95dee.kitware.jobserver-1/ninja-1.11.1.g95dee.kitware.jobserver-1_x86_64-linux-gnu.tar.gz -O - | tar xz --strip-components=1
186
186
sudo cp ninja /usr/local/bin
187
187
188
+ echo "ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-$( cat SDK_VERSION )" >> $GITHUB_ENV
189
+
188
190
- name : Check Environment
189
191
run : |
190
192
cmake --version
Original file line number Diff line number Diff line change 23
23
os : [ubuntu-22.04]
24
24
container :
25
25
image : ghcr.io/zephyrproject-rtos/ci:v0.26.6
26
- env :
27
- ZEPHYR_SDK_INSTALL_DIR : /opt/toolchains/zephyr-sdk-0.16.4
28
26
29
27
steps :
30
28
- name : Apply Container Owner Mismatch Workaround
47
45
west update --path-cache /github/cache/zephyrproject 2>&1 1> west.update.log || west update --path-cache /github/cache/zephyrproject 2>&1 1> west.update.log || ( rm -rf ../modules ../bootloader ../tools && west update --path-cache /github/cache/zephyrproject)
48
46
west forall -c 'git reset --hard HEAD'
49
47
48
+ echo "ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-$( cat SDK_VERSION )" >> $GITHUB_ENV
49
+
50
50
- name : Set Up Python ${{ matrix.python-version }}
51
51
uses : actions/setup-python@v4
52
52
with :
You can’t perform that action at this time.
0 commit comments