-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
62 lines (56 loc) · 1.33 KB
/
.gitlab-ci.yml
File metadata and controls
62 lines (56 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
image: espressif/esp-matter:latest_idf_v5.2.3
stages:
- build
.build: &build
- VERSION=$(echo "$CI_COMMIT_TAG" | sed 's/^v//')
- sed -i 's/\(set(PROJECT_VER "\)\([^"]*\)\(")\)/\1'$VERSION'\3/' CMakeLists.txt
- idf.py -D SDKCONFIG_DEFAULTS="${SDK_CONFIG_FILE}" build
- esptool.py --chip ${ESP_CHIP} merge_bin -o SensAir.bin
0x0 build/bootloader/bootloader.bin
0xc000 build/partition_table/partition-table.bin
0x1d000 build/ota_data_initial.bin
0x20000 build/SensAir.bin
build_esp32c6_thread:
stage: build
variables:
ESP_CHIP: esp32c6
SDK_CONFIG_FILE: sdkconfig.defaults.esp32c6
script: *build
artifacts:
paths:
- SensAir.bin
only:
- /^v\d+\.\d+\.\d+$/
build_esp32c6_wifi:
stage: build
variables:
ESP_CHIP: esp32c6
SDK_CONFIG_FILE: sdkconfig.defaults.esp32c6_wifi
script: *build
artifacts:
paths:
- SensAir.bin
only:
- /^v\d+\.\d+\.\d+$/
build_esp32h2_thread:
stage: build
variables:
ESP_CHIP: esp32h2
SDK_CONFIG_FILE: sdkconfig.defaults.esp32h2
script: *build
artifacts:
paths:
- SensAir.bin
only:
- /^v\d+\.\d+\.\d+$/
build_esp32s3_wifi:
stage: build
variables:
ESP_CHIP: esp32s3
SDK_CONFIG_FILE: sdkconfig.defaults.esp32s3
script: *build
artifacts:
paths:
- SensAir.bin
only:
- /^v\d+\.\d+\.\d+$/