Skip to content

Commit 7b3f283

Browse files
fix: Use new IDF_VERSION symbol in .build-test-rules.yml files
1 parent ca6290a commit 7b3f283

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

components/.build-test-rules.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ components/esp_lvgl_port/examples/i2c_oled:
1010
- "components/esp_lvgl_port/**"
1111
- "components/lcd/sh1107/**"
1212
disable:
13-
- if: (IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 2) or IDF_VERSION_MAJOR < 5
13+
- if: IDF_VERSION < "5.2.0"
1414
reason: Requires I2C Driver-NG which was introduced in v5.2
1515

1616
components/esp_lvgl_port/test_apps/simd:
@@ -31,12 +31,12 @@ components/icm42670:
3131
depends_filepatterns:
3232
- "components/icm42670/**"
3333
disable:
34-
- if: (IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 2) or IDF_VERSION_MAJOR < 5
34+
- if: IDF_VERSION < "5.2.0"
3535
reason: Requires I2C Driver-NG which was introduced in v5.2
3636

3737
components/qma6100p:
3838
depends_filepatterns:
3939
- "components/qma6100p/**"
4040
disable:
41-
- if: (IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 2) or IDF_VERSION_MAJOR < 5
41+
- if: IDF_VERSION < "5.2.0"
4242
reason: Requires I2C Driver-NG which was introduced in v5.2

components/io_expander/.build-test-rules.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@ components/io_expander/esp_io_expander_ht8574:
33
- "components/io_expander/esp_io_expander/**"
44
- "components/io_expander/esp_io_expander_ht8574/**"
55
disable:
6-
- if: (IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 2) or IDF_VERSION_MAJOR < 5
6+
- if: IDF_VERSION < "5.2.0"
77
reason: Requires I2C Driver-NG which was introduced in v5.2
88

99
components/io_expander/esp_io_expander_tca95xx_16bit:
1010
depends_filepatterns:
1111
- "components/io_expander/esp_io_expander/**"
1212
- "components/io_expander/esp_io_expander_tca95xx_16bit/**"
1313
disable:
14-
- if: (IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 2) or IDF_VERSION_MAJOR < 5
14+
- if: IDF_VERSION < "5.2.0"
1515
reason: Requires I2C Driver-NG which was introduced in v5.2
1616

1717
components/io_expander/esp_io_expander_tca9554:
1818
depends_filepatterns:
1919
- "components/io_expander/esp_io_expander/**"
2020
- "components/io_expander/esp_io_expander_tca9554/**"
2121
disable:
22-
- if: (IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 2) or IDF_VERSION_MAJOR < 5
22+
- if: IDF_VERSION < "5.2.0"
2323
reason: Requires I2C Driver-NG which was introduced in v5.2

components/lcd/.build-test-rules.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ components/lcd/esp_lcd_gc9503:
77
depends_filepatterns:
88
- "components/lcd/esp_lcd_gc9503/**"
99
disable:
10-
- if: (IDF_VERSION_MAJOR < 5 or ((IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR == 0) and ESP_IDF_VERSION_PATCH < 5)) or ((IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR == 1) and ESP_IDF_VERSION_PATCH == 1)
10+
- if: (IDF_VERSION < "5.0.5") or (IDF_VERSION == "5.1.1")
1111
reason: Supported from version 5.0.5 and not supported in version 5.1.1
1212

1313
components/lcd/esp_lcd_ili9341:
@@ -18,7 +18,7 @@ components/lcd/esp_lcd_ili9881c:
1818
depends_filepatterns:
1919
- "components/lcd/esp_lcd_ili9881c/**"
2020
disable:
21-
- if: (IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 3) or IDF_VERSION_MAJOR < 5
21+
- if: IDF_VERSION < "5.3.0"
2222
reason: Component is supported only for IDF >= 5.3
2323
- if: IDF_TARGET not in ["esp32p4"]
2424
reason: Component is supported only for esp32p4 target

examples/.build-test-rules.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ examples:
33
disable:
44
- if: CONFIG_NAME in ["esp-box", "esp-box-lite", "esp32_azure_iot_kit"]
55
reason: Do not build examples for deprecated BSPs
6-
- if: (IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 2) and CONFIG_NAME in ["esp_bsp_generic", "esp_bsp_devkit", "m5stack_core"]
6+
- if: (IDF_VERSION < "5.2.0") and CONFIG_NAME in ["esp_bsp_generic", "esp_bsp_devkit", "m5stack_core"]
77
reason: Example depends on BSP, which is supported only for IDF >= 5.2
8-
- if: (IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 3) and CONFIG_NAME in ["esp32_p4_function_ev_board", "esp-box-3", "esp32_s3_lcd_ev_board", "m5_atom_s3"]
8+
- if: (IDF_VERSION < "5.3.0") and CONFIG_NAME in ["esp32_p4_function_ev_board", "esp-box-3", "esp32_s3_lcd_ev_board", "m5_atom_s3"]
99
reason: Example depends on BSP, which is supported only for IDF >= 5.3
10-
- if: (IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 4) and CONFIG_NAME in ["m5stack_core_s3", "esp32_s2_kaluga_kit", "esp32_s3_korvo_2", "esp32_s3_eye"]
10+
- if: (IDF_VERSION < "5.4.0") and CONFIG_NAME in ["m5stack_core_s3", "esp32_s2_kaluga_kit", "esp32_s3_korvo_2", "esp32_s3_eye"]
1111
reason: Example depends on BSP, which is supported only for IDF >= 5.4
1212

1313
examples/generic_button_led:
1414
disable:
15-
- if: IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 2
15+
- if: IDF_VERSION < "5.2.0"
1616
reason: Requires I2C Driver-NG which was introduced in v5.2

0 commit comments

Comments
 (0)