mirror of
https://github.com/wled/WLED.git
synced 2025-07-22 10:16:32 +00:00
Build all usermods
This commit is contained in:
parent
6e76a72d78
commit
67022beca0
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
environment: ${{ fromJSON(needs.get_default_envs.outputs.environments) }}
|
environment: ${{ fromJSON(needs.get_default_envs.outputs.environments) }} usermods
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
@ -57,6 +57,11 @@ jobs:
|
|||||||
cache: 'pip'
|
cache: 'pip'
|
||||||
- name: Install PlatformIO
|
- name: Install PlatformIO
|
||||||
run: pip install -r requirements.txt
|
run: pip install -r requirements.txt
|
||||||
|
- name: Add usermods environment
|
||||||
|
run: |
|
||||||
|
cp -v usermods/platformio_override.usermods.ini platformio_override.ini
|
||||||
|
find usermods/ -name library.json | xargs dirname | xargs -n 1 basename | xargs echo >> platformio_override.ini
|
||||||
|
|
||||||
- name: Build firmware
|
- name: Build firmware
|
||||||
run: pio run -e ${{ matrix.environment }}
|
run: pio run -e ${{ matrix.environment }}
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
|
9
usermods/platformio_override.usermods.ini
Normal file
9
usermods/platformio_override.usermods.ini
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[env:usermods]
|
||||||
|
board = esp32dev
|
||||||
|
platform = ${esp32.platform}
|
||||||
|
platform_packages = ${esp32.platform_packages}
|
||||||
|
build_unflags = ${common.build_unflags}
|
||||||
|
build_flags = ${common.build_flags} ${esp32.build_flags} -D WLED_RELEASE_NAME=\"USERMODS\"
|
||||||
|
${esp32.AR_build_flags}
|
||||||
|
lib_deps = ${esp32.lib_deps}
|
||||||
|
board_build.partitions = ${esp32.default_partitions}
|
Loading…
x
Reference in New Issue
Block a user