Skip to content

Commit 9302910

Browse files
committed
remove dbg
1 parent be3e95b commit 9302910

File tree

2 files changed

+60
-99
lines changed

2 files changed

+60
-99
lines changed

.github/scripts/on-push.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ if [ "$BUILD_PIO" -eq 0 ]; then
9191
echo "{\"boards\": [" > $sizes_file
9292

9393
#build sketches for different targets
94-
#build "esp32s3" $FQBN_ESP32S3 $CHUNK_INDEX $CHUNKS_CNT $SKETCHES_ESP32
95-
#build "esp32s2" $FQBN_ESP32S2 $CHUNK_INDEX $CHUNKS_CNT $SKETCHES_ESP32
96-
#build "esp32c3" $FQBN_ESP32C3 $CHUNK_INDEX $CHUNKS_CNT $SKETCHES_ESP32
97-
#build "esp32c6" $FQBN_ESP32C6 $CHUNK_INDEX $CHUNKS_CNT $SKETCHES_ESP32
94+
build "esp32s3" $FQBN_ESP32S3 $CHUNK_INDEX $CHUNKS_CNT $SKETCHES_ESP32
95+
build "esp32s2" $FQBN_ESP32S2 $CHUNK_INDEX $CHUNKS_CNT $SKETCHES_ESP32
96+
build "esp32c3" $FQBN_ESP32C3 $CHUNK_INDEX $CHUNKS_CNT $SKETCHES_ESP32
97+
build "esp32c6" $FQBN_ESP32C6 $CHUNK_INDEX $CHUNKS_CNT $SKETCHES_ESP32
9898
build "esp32h2" $FQBN_ESP32H2 $CHUNK_INDEX $CHUNKS_CNT $SKETCHES_ESP32
99-
#build "esp32" $FQBN_ESP32 $CHUNK_INDEX $CHUNKS_CNT $SKETCHES_ESP32
99+
build "esp32" $FQBN_ESP32 $CHUNK_INDEX $CHUNKS_CNT $SKETCHES_ESP32
100100

101101

102102
echo "Debug(board) - removing last comma from the last JSON object"

.github/workflows/push.yml

Lines changed: 55 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -57,106 +57,67 @@ jobs:
5757
overwrite: true
5858

5959
# Windows and MacOS
60-
#build-arduino-win-mac:
61-
# name: Arduino on ${{ matrix.os }}
62-
# runs-on: ${{ matrix.os }}
63-
# strategy:
64-
# fail-fast: false
65-
# matrix:
66-
# os: [windows-latest, macOS-latest]
67-
68-
# steps:
69-
# - uses: actions/checkout@v4
70-
# - uses: actions/setup-python@v5
71-
# with:
72-
# python-version: '3.x'
73-
# - name: Build Sketches
74-
# run: bash ./.github/scripts/on-push.sh
60+
build-arduino-win-mac:
61+
name: Arduino on ${{ matrix.os }}
62+
runs-on: ${{ matrix.os }}
63+
strategy:
64+
fail-fast: false
65+
matrix:
66+
os: [windows-latest, macOS-latest]
67+
68+
steps:
69+
- uses: actions/checkout@v4
70+
- uses: actions/setup-python@v5
71+
with:
72+
python-version: '3.x'
73+
- name: Build Sketches
74+
run: bash ./.github/scripts/on-push.sh
7575

7676
# PlatformIO on Windows, Ubuntu and Mac
77-
#build-platformio:
78-
# name: PlatformIO on ${{ matrix.os }}
79-
# runs-on: ${{ matrix.os }}
80-
# strategy:
81-
# fail-fast: false
82-
# matrix:
83-
# os: [ubuntu-latest, windows-latest, macOS-latest]
84-
85-
# steps:
86-
# - uses: actions/checkout@v4
87-
# - uses: actions/setup-python@v5
88-
# with:
89-
# python-version: '3.x'
90-
# - name: Build Sketches
91-
# run: bash ./.github/scripts/on-push.sh 1 1 #equal and non-zero to trigger PIO
92-
93-
#build-esp-idf-component:
94-
# name: Build with ESP-IDF ${{ matrix.idf_ver }} for ${{ matrix.idf_target }}
95-
# runs-on: ubuntu-20.04
96-
# strategy:
97-
# fail-fast: false
98-
# matrix:
77+
build-platformio:
78+
name: PlatformIO on ${{ matrix.os }}
79+
runs-on: ${{ matrix.os }}
80+
strategy:
81+
fail-fast: false
82+
matrix:
83+
os: [ubuntu-latest, windows-latest, macOS-latest]
84+
85+
steps:
86+
- uses: actions/checkout@v4
87+
- uses: actions/setup-python@v5
88+
with:
89+
python-version: '3.x'
90+
- name: Build Sketches
91+
run: bash ./.github/scripts/on-push.sh 1 1 #equal and non-zero to trigger PIO
92+
93+
build-esp-idf-component:
94+
name: Build with ESP-IDF ${{ matrix.idf_ver }} for ${{ matrix.idf_target }}
95+
runs-on: ubuntu-20.04
96+
strategy:
97+
fail-fast: false
98+
matrix:
9999
# The version names here correspond to the versions of espressif/idf Docker image.
100100
# See https://hub.docker.com/r/espressif/idf/tags and
101101
# https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/tools/idf-docker-image.html
102102
# for details.
103-
# idf_ver: ["release-v5.1"]
104-
# idf_target: ["esp32", "esp32s2", "esp32s3", "esp32c2", "esp32c3", "esp32c6", "esp32h2"]
105-
# container: espressif/idf:${{ matrix.idf_ver }}
106-
# steps:
107-
# - name: Check out arduino-esp32 as a component
108-
# uses: actions/checkout@v4
109-
# with:
110-
# submodules: recursive
111-
# path: components/arduino-esp32
112-
# - name: Build
113-
# env:
114-
# IDF_TARGET: ${{ matrix.idf_target }}
115-
# shell: bash
116-
# run: |
117-
# . ${IDF_PATH}/export.sh
118-
# idf.py create-project test
119-
# echo CONFIG_FREERTOS_HZ=1000 > test/sdkconfig.defaults
120-
# idf.py -C test -DEXTRA_COMPONENT_DIRS=$PWD/components build
121-
122-
#build-arduino-base-linux:
123-
# name: Arduino Base ${{ matrix.chunk }} on ubuntu-latest
124-
# #run if its on PR only
125-
# if: github.event_name == 'pull_request'
126-
# runs-on: ubuntu-latest
127-
# strategy:
128-
# fail-fast: false
129-
# matrix:
130-
# chunk: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
131-
132-
# # Checkout base branch
133-
# steps:
134-
# - uses: actions/checkout@v4
135-
# with:
136-
# ref: ${{ github.event.pull_request.base.ref }}
137-
# - uses: actions/setup-python@v5
138-
# with:
139-
# python-version: '3.x'
140-
# - name: Cache tools
141-
# id: cache-linux
142-
# uses: actions/cache@v4
143-
# with:
144-
# path: |
145-
# ./tools/dist
146-
# ~/arduino_ide
147-
# key: ${{ runner.os }}-${{ hashFiles('package/package_esp32_index.template.json',
148-
# 'tools/get.py',
149-
# '.github/scripts/install-arduino-ide.sh') }}
150-
# - name: Build Sketches
151-
# run: bash ./.github/scripts/on-push.sh ${{ matrix.chunk }} 15 1
152-
153-
# #Upload cli compile json as artifact
154-
# - name: Upload cli compile json
155-
# uses: actions/upload-artifact@v4
156-
# with:
157-
# name: master_cli_compile_${{ matrix.chunk }}
158-
# path: cli_compile_${{ matrix.chunk }}.json
159-
# overwrite: true
103+
idf_ver: ["release-v5.1"]
104+
idf_target: ["esp32", "esp32s2", "esp32s3", "esp32c2", "esp32c3", "esp32c6", "esp32h2"]
105+
container: espressif/idf:${{ matrix.idf_ver }}
106+
steps:
107+
- name: Check out arduino-esp32 as a component
108+
uses: actions/checkout@v4
109+
with:
110+
submodules: recursive
111+
path: components/arduino-esp32
112+
- name: Build
113+
env:
114+
IDF_TARGET: ${{ matrix.idf_target }}
115+
shell: bash
116+
run: |
117+
. ${IDF_PATH}/export.sh
118+
idf.py create-project test
119+
echo CONFIG_FREERTOS_HZ=1000 > test/sdkconfig.defaults
120+
idf.py -C test -DEXTRA_COMPONENT_DIRS=$PWD/components build
160121
161122
# Save artifacts to gh-pages
162123
save-master-artifacts:

0 commit comments

Comments
 (0)