mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
parent
86979646ff
commit
979a15cf07
18
.github/workflows/Tasmota_build_devel.yml
vendored
18
.github/workflows/Tasmota_build_devel.yml
vendored
@ -28,6 +28,10 @@ jobs:
|
|||||||
- name: Install clang compiler
|
- name: Install clang compiler
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -f clang
|
sudo apt-get install -f clang
|
||||||
|
- name: Run coc
|
||||||
|
run: |
|
||||||
|
cd lib/libesp32/berry
|
||||||
|
./gen.sh
|
||||||
- name: Make Berry and Tasmota Berry code
|
- name: Make Berry and Tasmota Berry code
|
||||||
run: |
|
run: |
|
||||||
cd lib/libesp32/berry
|
cd lib/libesp32/berry
|
||||||
@ -44,8 +48,8 @@ jobs:
|
|||||||
../../libesp32/berry/berry -s -g solidify_all.be
|
../../libesp32/berry/berry -s -g solidify_all.be
|
||||||
- uses: jason2866/upload-artifact@v2.0.2
|
- uses: jason2866/upload-artifact@v2.0.2
|
||||||
with:
|
with:
|
||||||
name: '["berry_matter", "berry_tasmota", "lvgl_tasmota"]'
|
name: '["berry_tasmota", "berry_matter", "berry_lvgl"]'
|
||||||
path: '["./lib/libesp32/berry_matter/src/solidify", "./lib/libesp32/berry_tasmota/src/solidify", "./lib/libesp32_lvgl/lv_binding_berry/src/solidify"]'
|
path: '["./lib/libesp32/berry_tasmota/src/solidify", "./lib/libesp32/berry_matter/src/solidify", "./lib/libesp32_lvgl/lv_binding_berry/src/solidify"]'
|
||||||
|
|
||||||
push_solidified:
|
push_solidified:
|
||||||
needs: be_solidify
|
needs: be_solidify
|
||||||
@ -61,13 +65,13 @@ jobs:
|
|||||||
- uses: jason2866/download-artifact@v3
|
- uses: jason2866/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: |
|
name: |
|
||||||
berry_matter
|
|
||||||
berry_tasmota
|
berry_tasmota
|
||||||
lvgl_tasmota
|
berry_matter
|
||||||
|
berry_lvgl
|
||||||
path: |
|
path: |
|
||||||
./lib/libesp32/berry_matter/src/solidify
|
./lib/libesp32/berry_tasmota/src/solidify
|
||||||
./lib/libesp32/berry_tasmota/src/solidify
|
./lib/libesp32/berry_matter/src/solidify
|
||||||
./lib/libesp32_lvgl/lv_binding_berry/src/solidify
|
./lib/libesp32_lvgl/lv_binding_berry/src/solidify
|
||||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
with:
|
with:
|
||||||
commit_message: Solidified Code updated
|
commit_message: Solidified Code updated
|
||||||
|
25
.github/workflows/Tasmota_build_master.yml
vendored
25
.github/workflows/Tasmota_build_master.yml
vendored
@ -15,14 +15,22 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
be_solidify:
|
be_solidify:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
if: github.repository == 'arendst/Tasmota'
|
if: github.repository == 'arendst/Tasmota'
|
||||||
|
continue-on-error: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
- name: Install clang compiler
|
||||||
|
run: |
|
||||||
|
sudo apt-get install -f clang
|
||||||
|
- name: Run coc
|
||||||
|
run: |
|
||||||
|
cd lib/libesp32/berry
|
||||||
|
./gen.sh
|
||||||
- name: Make Berry and Tasmota Berry code
|
- name: Make Berry and Tasmota Berry code
|
||||||
run: |
|
run: |
|
||||||
cd lib/libesp32/berry
|
cd lib/libesp32/berry
|
||||||
@ -39,13 +47,14 @@ jobs:
|
|||||||
../../libesp32/berry/berry -s -g solidify_all.be
|
../../libesp32/berry/berry -s -g solidify_all.be
|
||||||
- uses: jason2866/upload-artifact@v2.0.2
|
- uses: jason2866/upload-artifact@v2.0.2
|
||||||
with:
|
with:
|
||||||
name: '["berry_matter", "berry_tasmota", "lvgl_tasmota"]'
|
name: '["berry_tasmota", "berry_matter", "berry_lvgl"]'
|
||||||
path: '["./lib/libesp32/berry_matter/src/solidify", "./lib/libesp32/berry_tasmota/src/solidify", "./lib/libesp32_lvgl/lv_binding_berry/src/solidify"]'
|
path: '["./lib/libesp32/berry_tasmota/src/solidify", "./lib/libesp32/berry_matter/src/solidify", "./lib/libesp32_lvgl/lv_binding_berry/src/solidify"]'
|
||||||
|
|
||||||
push_solidified:
|
push_solidified:
|
||||||
needs: be_solidify
|
needs: be_solidify
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.repository == 'arendst/Tasmota'
|
if: github.repository == 'arendst/Tasmota'
|
||||||
|
continue-on-error: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
@ -55,13 +64,13 @@ jobs:
|
|||||||
- uses: jason2866/download-artifact@v3
|
- uses: jason2866/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: |
|
name: |
|
||||||
berry_matter
|
|
||||||
berry_tasmota
|
berry_tasmota
|
||||||
lvgl_tasmota
|
berry_matter
|
||||||
|
berry_lvgl
|
||||||
path: |
|
path: |
|
||||||
./lib/libesp32/berry_matter/src/solidify
|
./lib/libesp32/berry_tasmota/src/solidify
|
||||||
./lib/libesp32/berry_tasmota/src/solidify
|
./lib/libesp32/berry_matter/src/solidify
|
||||||
./lib/libesp32_lvgl/lv_binding_berry/src/solidify
|
./lib/libesp32_lvgl/lv_binding_berry/src/solidify
|
||||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
with:
|
with:
|
||||||
commit_message: Solidified Code updated
|
commit_message: Solidified Code updated
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
#
|
#
|
||||||
# Should be eventually included in the build process
|
# Should be eventually included in the build process
|
||||||
#
|
#
|
||||||
rm generate/be_*.h
|
rm -Rf ./generate/be_*.h
|
||||||
python3 tools/coc/coc -o generate src default ../berry_tasmota/src ../berry_mapping/src ../berry_int64/src ../../libesp32_lvgl/lv_binding_berry/src ../../libesp32_lvgl/lv_binding_berry/src/solidify ../../libesp32_lvgl/lv_binding_berry/generate -c default/berry_conf.h
|
python3 tools/coc/coc -o generate src default ../berry_tasmota/src ../berry_mapping/src ../berry_int64/src ../../libesp32_lvgl/lv_binding_berry/src ../../libesp32_lvgl/lv_binding_berry/src/solidify ../../libesp32_lvgl/lv_binding_berry/generate -c default/berry_conf.h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user