File tree Expand file tree Collapse file tree 4 files changed +104
-0
lines changed Expand file tree Collapse file tree 4 files changed +104
-0
lines changed Original file line number Diff line number Diff line change 1+ .component_depends_default : &component_depends_default
2+ # depends_components:
3+ # - ESP32_Display_Panel
4+ depends_filepatterns :
5+ - .idf_build_apps.toml
6+ - .build-test-rules.yml
7+ - .ignore_build_warnings.txt
8+ - src/**/*
9+ - CMakeLists.txt
10+ - idf_component.yml
11+ - Kconfig
12+
13+ test_apps/lcd/3wire_spi_rgb :
14+ disable :
15+ - if : SOC_LCD_RGB_SUPPORTED != 1
16+ << : *component_depends_default
17+
18+ test_apps/lcd/spi :
19+ disable :
20+ - if : SOC_GPSPI_SUPPORTED != 1
21+ << : *component_depends_default
22+
23+ # components/lcd/esp_lcd_gc9503:
24+ # depends_filepatterns:
25+ # - "components/lcd/esp_lcd_gc9503/**"
26+ # disable:
27+ # - 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)
28+ # reason: Supported from version 5.0.5 and not supported in version 5.1.1
Original file line number Diff line number Diff line change 1+ name : Build test apps
2+
3+ on :
4+ workflow_dispatch :
5+ pull_request :
6+ types : [opened, reopened, synchronize]
7+
8+ jobs :
9+ build :
10+ strategy :
11+ matrix :
12+ include :
13+ - idf_ver : " latest"
14+ parallel_count : 5
15+ parallel_index : 1
16+ - idf_ver : " latest"
17+ parallel_count : 5
18+ parallel_index : 2
19+ - idf_ver : " latest"
20+ parallel_count : 5
21+ parallel_index : 3
22+ - idf_ver : " latest"
23+ parallel_count : 5
24+ parallel_index : 4
25+ - idf_ver : " latest"
26+ parallel_count : 5
27+ parallel_index : 5
28+ - idf_ver : " release-v5.1"
29+ parallel_count : 2
30+ parallel_index : 1
31+ - idf_ver : " release-v5.1"
32+ parallel_count : 2
33+ parallel_index : 2
34+ - idf_ver : " release-v5.2"
35+ parallel_count : 2
36+ parallel_index : 1
37+ - idf_ver : " release-v5.2"
38+ parallel_count : 2
39+ parallel_index : 2
40+ - idf_ver : " release-v5.3"
41+ parallel_count : 2
42+ parallel_index : 1
43+ - idf_ver : " release-v5.3"
44+ parallel_count : 2
45+ parallel_index : 2
46+ runs-on : ubuntu-latest
47+ container : espressif/idf:${{ matrix.idf_ver }}
48+ steps :
49+ - uses : actions/checkout@v4
50+
51+ - name : Get changed files
52+ id : changed-files
53+ uses : tj-actions/changed-files@v45
54+
55+ - name : Build all test apps
56+ shell : bash
57+ env :
58+ ALL_CHANGED_FILES : ${{ steps.changed-files.outputs.all_changed_files }}
59+ run : |
60+ . ${IDF_PATH}/export.sh
61+ pip install idf-component-manager==1.* ruamel.yaml idf-build-apps==2.4.3 --upgrade
62+ echo "Files changed: ${ALL_CHANGED_FILES}"
63+ idf-build-apps find --modified-files "${ALL_CHANGED_FILES}"
64+ idf-build-apps build --parallel-count ${{ matrix.parallel_count }} --parallel-index ${{ matrix.parallel_index }} --modified-files "${ALL_CHANGED_FILES}"
Original file line number Diff line number Diff line change 1+ recursive = true
2+ exclude = [
3+ " " ,
4+ ]
5+ manifest_file = " .build-test-rules.yml"
6+ check_warnings = true
7+ ignore_warning_file = " .ignore_build_warnings.txt"
8+ config = " sdkconfig.ci.*"
9+
10+ # build related options
11+ build_dir = " build_@w"
Original file line number Diff line number Diff line change 1+ DeprecationWarning: pkg_resources is deprecated as an API
You can’t perform that action at this time.
0 commit comments