Skip to content

Commit

Permalink
Merge pull request #9 from awawa-dev/update_to_0_14_0
Browse files Browse the repository at this point in the history
Update WLED to 0.14.0
  • Loading branch information
awawa-dev authored Oct 23, 2024
2 parents b79b8d4 + 3667af1 commit 7ef5971
Show file tree
Hide file tree
Showing 300 changed files with 68,429 additions and 24,036 deletions.
3 changes: 1 addition & 2 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
github: [Aircoookie]
custom: ['https://paypal.me/Aircoookie']
github: awawa-dev
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ body:
options:
- ESP8266
- ESP32
- ESP32-S3
- ESP32-S2
- ESP32-C3
- Other
validations:
required: true
Expand All @@ -80,4 +83,4 @@ body:
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/Aircoookie/WLED/blob/master/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
required: true
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: WLED Discord community
url: https://discord.gg/KuqP7NE
about: Please ask and answer questions and discuss setup issues here!
- name: WLED community forum
url: https://wled.discourse.group/
about: For issues and ideas that might need longer discussion.
- name: kno.wled.ge base
url: https://kno.wled.ge/basics/faq/
about: Take a look at the frequently asked questions and documentation, perhaps your question is already answered!
19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/question.md

This file was deleted.

33 changes: 20 additions & 13 deletions .github/workflows/wled-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,23 @@ jobs:
name: Gather Environments
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Cache pip
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install PlatformIO
run: pip install -r requirements.txt
- name: Get default environments
id: envs
run: |
echo "::set-output name=environments::$(pio project config --json-output | jq -cr '.[0][1][0][1]')"
echo "environments=$(pio project config --json-output | jq -cr '.[0][1][0][1]')" >> $GITHUB_OUTPUT
outputs:
environments: ${{ steps.envs.outputs.environments }}

Expand All @@ -32,52 +34,57 @@ jobs:
runs-on: ubuntu-latest
needs: get_default_envs
strategy:
fail-fast: false
matrix:
environment: ${{ fromJSON(needs.get_default_envs.outputs.environments) }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Cache pip
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install PlatformIO
run: pip install -r requirements.txt
- name: Build firmware
env:
WLED_RELEASE: True
run: pio run -e ${{ matrix.environment }}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: firmware-${{ matrix.environment }}
path: |
build_output/firmware/*.bin
build_output/firmware/*.gz
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: startsWith(github.ref, 'refs/tags/')
with:
name: firmware-release
name: firmware-release-${{ matrix.environment }}
path: build_output/release/*.bin
release:
name: Create Release
runs-on: ubuntu-latest
needs: [get_default_envs, build]
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: firmware-release
pattern: firmware-release-*
merge-multiple: true
- name: Create draft release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
draft: True
files: |
Expand Down
29 changes: 18 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
.pio
.cache
.clang-format
.direnv
.DS_Store
.gitignore
.idea
.pio
.pioenvs
.piolibdeps
.vscode
!.vscode/extensions.json
/wled00/Release

esp01-update.sh
platformio_override.ini
replace_fs.py
wled-update.sh

/build_output/
/node_modules/

/wled00/extLibs
/platformio_override.ini
/wled00/LittleFS
/wled00/my_config.h
/build_output
.DS_Store
.gitignore
.clang-format
node_modules
.idea
.direnv
/wled00/Release
/wled00/wled00.ino.cpp
4 changes: 1 addition & 3 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
FROM gitpod/workspace-full

USER gitpod

RUN pip3 install -U platformio
USER gitpod
9 changes: 4 additions & 5 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
tasks:
- command: platformio run
- command: pip3 install -U platformio && platformio run

image:
file: .gitpod.Dockerfile

vscode:
extensions:
- [email protected]:u3GsZ5PK12Ddr79vh4TWgQ==
- [email protected]:e0IYyp0efFqVsrZwsIe8CA==
- [email protected]:fbZNfSpnd8XkAHGfAPS2rA==
- [email protected]:Tbu8dTz0i+/bgcKQTQ5b8g==
- Atishay-Jain.All-Autocomplete
- esbenp.prettier-vscode
- shardulm94.trailing-spaces
Loading

0 comments on commit 7ef5971

Please sign in to comment.