Merge remote-tracking branch 'letscontrolit/mega' into bugfix/WiFi_state_machine

This commit is contained in:
TD-er
2025-08-04 13:04:58 +02:00
+6 -25
View File
@@ -27,7 +27,8 @@ jobs:
python-version: '3.x'
- id: set-matrix
run: |
pip install platformio
pip install uv
uv pip install --system platformio
python tools/ci/generate-matrix.py
build:
@@ -38,26 +39,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-${{ hashFiles('requirements.txt') }}
- uses: actions/cache@v4
if: ${{ contains(matrix.env, 'esp32') }}
with:
path: ~/.platformio
key: ${{ runner.os }}-esp32-${{ hashFiles('platformio*.ini') }}
- uses: actions/cache@v4
if: ${{ contains(matrix.env, 'esp8266') }}
with:
path: ~/.platformio
key: ${{ runner.os }}-esp8266-${{ hashFiles('platformio*.ini') }}
- name: Dependencies
run: |
sudo apt install binutils build-essential libffi-dev libgit2-dev
pip install -r requirements.txt
pip install uv
uv pip install --system -r requirements.txt
pio pkg update -e ${{ matrix.env }}
- name: Build and archive
id: build-and-archive
@@ -83,17 +69,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-docs-${{ hashFiles('docs/requirements.txt') }}
- name: Build documentation
run: |
cd docs
sudo apt install imagemagick zip
pip install -r requirements.txt
pip install uv
uv pip install --system -r requirements.txt
make html
cd ..
zip -r -qq ESPEasy_docs.zip docs/build/*