Skip to content

Commit a51386a

Browse files
committed
feat: update
1 parent 846c7c8 commit a51386a

File tree

4 files changed

+100
-0
lines changed

4 files changed

+100
-0
lines changed

.build-test-rules.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
# components/lcd/esp_lcd_gc9503:
19+
# depends_filepatterns:
20+
# - "components/lcd/esp_lcd_gc9503/**"
21+
# disable:
22+
# - 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)
23+
# reason: Supported from version 5.0.5 and not supported in version 5.1.1

.github/workflows/build_test_apps.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
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 ESP-BSP applications
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+
63+
echo "Files changed: ${ALL_CHANGED_FILES}"
64+
idf-build-apps find --modified-files "${ALL_CHANGED_FILES}"
65+
idf-build-apps build --parallel-count ${{ matrix.parallel_count }} --parallel-index ${{ matrix.parallel_index }} --modified-files "${ALL_CHANGED_FILES}"

.idf_build_apps.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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"

.ignore_build_warnings.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DeprecationWarning: pkg_resources is deprecated as an API

0 commit comments

Comments
 (0)