mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 12:46:34 +00:00
GH actions changes part 1 (#22927)
This commit is contained in:
parent
aaa49f84ab
commit
299f983610
62
.github/workflows/Tasmota_build_devel.yml
vendored
62
.github/workflows/Tasmota_build_devel.yml
vendored
@ -25,35 +25,57 @@ jobs:
|
|||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
#- name: Install clang compiler
|
|
||||||
#run: |
|
|
||||||
#sudo apt-get install -f clang
|
|
||||||
- name: Make Berry and Tasmota Berry code
|
- name: Make Berry and Tasmota Berry code
|
||||||
run: |
|
run: |
|
||||||
cd lib/libesp32/berry
|
cd lib/libesp32/berry
|
||||||
make
|
make
|
||||||
cd ../berry_tasmota
|
cd ../berry_tasmota
|
||||||
../berry/berry -s -g solidify_all.be
|
../berry/berry -s -g solidify_all.be
|
||||||
|
- uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: berry_tasmota
|
||||||
|
path: ./lib/libesp32/berry_tasmota/src/solidify
|
||||||
|
|
||||||
- name: Matter Berry Code
|
- name: Matter Berry Code
|
||||||
run: |
|
run: |
|
||||||
cd lib/libesp32/berry_matter
|
cd lib/libesp32/berry_matter
|
||||||
../berry/berry -s -g solidify_all.be
|
../berry/berry -s -g solidify_all.be
|
||||||
|
- uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: berry_matter
|
||||||
|
path: ./lib/libesp32/berry_matter/src/solidify
|
||||||
|
|
||||||
- name: Berry Animate Code
|
- name: Berry Animate Code
|
||||||
run: |
|
run: |
|
||||||
cd lib/libesp32/berry_animate
|
cd lib/libesp32/berry_animate
|
||||||
../berry/berry -s -g solidify_all.be
|
../berry/berry -s -g solidify_all.be
|
||||||
|
- uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: berry_animate
|
||||||
|
path: ./lib/libesp32/berry_animate/src/solidify
|
||||||
|
|
||||||
- name: LVGL Berry Code
|
- name: LVGL Berry Code
|
||||||
run: |
|
run: |
|
||||||
cd lib/libesp32_lvgl/lv_binding_berry
|
cd lib/libesp32_lvgl/lv_binding_berry
|
||||||
../../libesp32/berry/berry -s -g solidify_all.be
|
../../libesp32/berry/berry -s -g solidify_all.be
|
||||||
|
- uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: berry_lvgl
|
||||||
|
path: ./lib/libesp32_lvgl/lv_binding_berry/src/solidify
|
||||||
|
|
||||||
- name: HASPmota Berry Code
|
- name: HASPmota Berry Code
|
||||||
run: |
|
run: |
|
||||||
cd lib/libesp32_lvgl/lv_haspmota
|
cd lib/libesp32_lvgl/lv_haspmota
|
||||||
../../libesp32/berry/berry -s -g solidify_all.be
|
../../libesp32/berry/berry -s -g solidify_all.be
|
||||||
- uses: jason2866/upload-artifact@v2.0.3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: '["berry_tasmota", "berry_matter", "berry_animate", "berry_lvgl", "berry_haspmota", "berry_header"]'
|
name: berry_haspmota
|
||||||
path: '["./lib/libesp32/berry_tasmota/src/solidify", "./lib/libesp32/berry_matter/src/solidify", "./lib/libesp32/berry_animate/src/solidify", "./lib/libesp32_lvgl/lv_binding_berry/src/solidify", "./lib/libesp32_lvgl/lv_haspmota/src/solidify", "./lib/libesp32/berry/generate"]'
|
path: ./lib/libesp32_lvgl/lv_haspmota/src/solidify
|
||||||
|
- uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: berry_header
|
||||||
|
path: ./lib/libesp32/berry/generate
|
||||||
|
|
||||||
push_solidified:
|
push_solidified:
|
||||||
needs: be_solidify
|
needs: be_solidify
|
||||||
@ -66,9 +88,9 @@ jobs:
|
|||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
- uses: jason2866/download-artifact@v3.0.4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: |
|
pattern: |
|
||||||
berry_tasmota
|
berry_tasmota
|
||||||
berry_matter
|
berry_matter
|
||||||
berry_animate
|
berry_animate
|
||||||
@ -129,9 +151,9 @@ jobs:
|
|||||||
#run: |
|
#run: |
|
||||||
#cp ./build_output/firmware/tasmota32solo1-safeboot.bin ./build_output/firmware/tasmota32-safeboot.bin
|
#cp ./build_output/firmware/tasmota32solo1-safeboot.bin ./build_output/firmware/tasmota32-safeboot.bin
|
||||||
- name: Upload safeboot firmware artifacts
|
- name: Upload safeboot firmware artifacts
|
||||||
uses: jason2866/upload-artifact@v2.0.3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: firmware_safeboot
|
name: ${{ matrix.variant }}
|
||||||
path: ./build_output
|
path: ./build_output
|
||||||
|
|
||||||
base-images:
|
base-images:
|
||||||
@ -172,9 +194,9 @@ jobs:
|
|||||||
- name: Run PlatformIO
|
- name: Run PlatformIO
|
||||||
run: platformio run -e ${{ matrix.variant }}
|
run: platformio run -e ${{ matrix.variant }}
|
||||||
- name: Upload firmware artifacts
|
- name: Upload firmware artifacts
|
||||||
uses: jason2866/upload-artifact@v2.0.3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: firmware
|
name: ${{ matrix.variant }}
|
||||||
path: ./build_output
|
path: ./build_output
|
||||||
|
|
||||||
base32-images:
|
base32-images:
|
||||||
@ -214,9 +236,9 @@ jobs:
|
|||||||
pip install -U platformio
|
pip install -U platformio
|
||||||
cp ./platformio_override_sample.ini ./platformio_override.ini
|
cp ./platformio_override_sample.ini ./platformio_override.ini
|
||||||
- name: Download safeboot firmwares
|
- name: Download safeboot firmwares
|
||||||
uses: jason2866/download-artifact@v3.0.4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: firmware_safeboot
|
pattern: *-safeboot
|
||||||
path: ./firmware
|
path: ./firmware
|
||||||
- name: Add SHA to footer
|
- name: Add SHA to footer
|
||||||
run: |
|
run: |
|
||||||
@ -226,9 +248,9 @@ jobs:
|
|||||||
- name: Run PlatformIO
|
- name: Run PlatformIO
|
||||||
run: platformio run -e ${{ matrix.variant }}
|
run: platformio run -e ${{ matrix.variant }}
|
||||||
- name: Upload firmware artifacts
|
- name: Upload firmware artifacts
|
||||||
uses: jason2866/upload-artifact@v2.0.3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: firmware
|
name: ${{ matrix.variant }}
|
||||||
path: ./build_output
|
path: ./build_output
|
||||||
|
|
||||||
language-images:
|
language-images:
|
||||||
@ -254,9 +276,9 @@ jobs:
|
|||||||
pip install -U platformio
|
pip install -U platformio
|
||||||
cp ./platformio_override_sample.ini ./platformio_override.ini
|
cp ./platformio_override_sample.ini ./platformio_override.ini
|
||||||
- name: Download safeboot firmwares
|
- name: Download safeboot firmwares
|
||||||
uses: jason2866/download-artifact@v3.0.4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: firmware_safeboot
|
pattern: *-safeboot
|
||||||
path: ./firmware
|
path: ./firmware
|
||||||
- name: Add SHA to footer
|
- name: Add SHA to footer
|
||||||
run: |
|
run: |
|
||||||
@ -266,9 +288,9 @@ jobs:
|
|||||||
- name: Run PlatformIO
|
- name: Run PlatformIO
|
||||||
run: platformio run -e ${{ matrix.variant }}-${{ matrix.language }}
|
run: platformio run -e ${{ matrix.variant }}-${{ matrix.language }}
|
||||||
- name: Upload language firmware artifacts
|
- name: Upload language firmware artifacts
|
||||||
uses: jason2866/upload-artifact@v2.0.3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: firmware
|
name: ${{ matrix.variant }}
|
||||||
path: ./build_output
|
path: ./build_output
|
||||||
|
|
||||||
Start_final_copy:
|
Start_final_copy:
|
||||||
|
32
.github/workflows/Tasmota_build_master.yml
vendored
32
.github/workflows/Tasmota_build_master.yml
vendored
@ -51,9 +51,9 @@ jobs:
|
|||||||
- name: Run PlatformIO
|
- name: Run PlatformIO
|
||||||
run: platformio run -e ${{ matrix.variant }}
|
run: platformio run -e ${{ matrix.variant }}
|
||||||
- name: Upload safeboot firmware artifacts
|
- name: Upload safeboot firmware artifacts
|
||||||
uses: jason2866/upload-artifact@v2.0.3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: firmware_safeboot
|
name: ${{ matrix.variant }}
|
||||||
path: ./build_output
|
path: ./build_output
|
||||||
|
|
||||||
base-images:
|
base-images:
|
||||||
@ -92,9 +92,9 @@ jobs:
|
|||||||
- name: Run PlatformIO
|
- name: Run PlatformIO
|
||||||
run: platformio run -e ${{ matrix.variant }}
|
run: platformio run -e ${{ matrix.variant }}
|
||||||
- name: Upload firmware artifacts
|
- name: Upload firmware artifacts
|
||||||
uses: jason2866/upload-artifact@v2.0.3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: firmware
|
name: ${{ matrix.variant }}
|
||||||
path: ./build_output
|
path: ./build_output
|
||||||
|
|
||||||
base32-images:
|
base32-images:
|
||||||
@ -134,9 +134,9 @@ jobs:
|
|||||||
pip install -U platformio
|
pip install -U platformio
|
||||||
cp ./platformio_override_sample.ini ./platformio_override.ini
|
cp ./platformio_override_sample.ini ./platformio_override.ini
|
||||||
- name: Download safeboot firmwares
|
- name: Download safeboot firmwares
|
||||||
uses: jason2866/download-artifact@v3.0.4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: firmware_safeboot
|
pattern: tasmota32*
|
||||||
path: ./firmware
|
path: ./firmware
|
||||||
- name: Display downloaded files
|
- name: Display downloaded files
|
||||||
run: |
|
run: |
|
||||||
@ -147,9 +147,9 @@ jobs:
|
|||||||
- name: Run PlatformIO
|
- name: Run PlatformIO
|
||||||
run: platformio run -e ${{ matrix.variant }}
|
run: platformio run -e ${{ matrix.variant }}
|
||||||
- name: Upload firmware artifacts
|
- name: Upload firmware artifacts
|
||||||
uses: jason2866/upload-artifact@v2.0.3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: firmware
|
name: ${{ matrix.variant }}
|
||||||
path: ./build_output
|
path: ./build_output
|
||||||
|
|
||||||
language-images:
|
language-images:
|
||||||
@ -175,9 +175,9 @@ jobs:
|
|||||||
pip install -U platformio
|
pip install -U platformio
|
||||||
cp ./platformio_override_sample.ini ./platformio_override.ini
|
cp ./platformio_override_sample.ini ./platformio_override.ini
|
||||||
- name: Download safeboot firmwares
|
- name: Download safeboot firmwares
|
||||||
uses: jason2866/download-artifact@v3.0.4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: firmware_safeboot
|
pattern: tasmota32*
|
||||||
path: ./firmware
|
path: ./firmware
|
||||||
- name: Display downloaded files
|
- name: Display downloaded files
|
||||||
run: |
|
run: |
|
||||||
@ -188,9 +188,9 @@ jobs:
|
|||||||
- name: Run PlatformIO
|
- name: Run PlatformIO
|
||||||
run: platformio run -e ${{ matrix.variant }}-${{ matrix.language }}
|
run: platformio run -e ${{ matrix.variant }}-${{ matrix.language }}
|
||||||
- name: Upload language firmware artifacts
|
- name: Upload language firmware artifacts
|
||||||
uses: jason2866/upload-artifact@v2.0.3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: firmware
|
name: ${{ matrix.variant }}
|
||||||
path: ./build_output
|
path: ./build_output
|
||||||
|
|
||||||
Release:
|
Release:
|
||||||
@ -200,14 +200,14 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Download Tasmota firmwares
|
- name: Download Tasmota firmwares
|
||||||
uses: jason2866/download-artifact@v3.0.4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: firmware
|
pattern: tasmota*
|
||||||
path: ./mv_firmware
|
path: ./mv_firmware
|
||||||
- name: Download safeboot firmwares
|
- name: Download safeboot firmwares
|
||||||
uses: jason2866/download-artifact@v3.0.4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: firmware_safeboot
|
pattern: *-safeboot
|
||||||
path: ./mv_firmware
|
path: ./mv_firmware
|
||||||
- name: Display structure of downloaded files
|
- name: Display structure of downloaded files
|
||||||
run: ls -R ./mv_firmware/
|
run: ls -R ./mv_firmware/
|
||||||
|
16
.github/workflows/build_all_the_things.yml
vendored
16
.github/workflows/build_all_the_things.yml
vendored
@ -41,9 +41,9 @@ jobs:
|
|||||||
#platformio update
|
#platformio update
|
||||||
- name: Run PlatformIO
|
- name: Run PlatformIO
|
||||||
run: platformio run -e ${{ matrix.variant }}
|
run: platformio run -e ${{ matrix.variant }}
|
||||||
- uses: jason2866/upload-artifact@v2.0.3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: firmware
|
name: ${{ matrix.variant }}
|
||||||
path: ./build_output
|
path: ./build_output
|
||||||
|
|
||||||
os-check-mac:
|
os-check-mac:
|
||||||
@ -69,9 +69,9 @@ jobs:
|
|||||||
#platformio update
|
#platformio update
|
||||||
- name: Run PlatformIO
|
- name: Run PlatformIO
|
||||||
run: platformio run -e ${{ matrix.variant }}
|
run: platformio run -e ${{ matrix.variant }}
|
||||||
- uses: jason2866/upload-artifact@v2.0.3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: firmware
|
name: ${{ matrix.variant }}
|
||||||
path: ./build_output
|
path: ./build_output
|
||||||
|
|
||||||
base-images:
|
base-images:
|
||||||
@ -128,9 +128,9 @@ jobs:
|
|||||||
cp ./platformio_override_sample.ini ./platformio_override.ini
|
cp ./platformio_override_sample.ini ./platformio_override.ini
|
||||||
- name: Run PlatformIO
|
- name: Run PlatformIO
|
||||||
run: platformio run -e ${{ matrix.variant }}
|
run: platformio run -e ${{ matrix.variant }}
|
||||||
- uses: jason2866/upload-artifact@v2.0.3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: firmware
|
name: ${{ matrix.variant }}
|
||||||
path: ./build_output
|
path: ./build_output
|
||||||
|
|
||||||
language-images:
|
language-images:
|
||||||
@ -156,7 +156,7 @@ jobs:
|
|||||||
#platformio update
|
#platformio update
|
||||||
- name: Run PlatformIO
|
- name: Run PlatformIO
|
||||||
run: platformio run -e ${{ matrix.variant }}-${{ matrix.language }}
|
run: platformio run -e ${{ matrix.variant }}-${{ matrix.language }}
|
||||||
- uses: jason2866/upload-artifact@v2.0.3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: firmware
|
name: ${{ matrix.variant }}
|
||||||
path: ./build_output
|
path: ./build_output
|
||||||
|
Loading…
x
Reference in New Issue
Block a user