Restore Github actions CI build (#3187)
* Update dependencies * Do not fail fast * Disable ESP32 variant CI builds
This commit is contained in:
parent
274f5f2f1f
commit
468ed1a9ce
21
.github/workflows/wled-ci.yml
vendored
21
.github/workflows/wled-ci.yml
vendored
@ -8,21 +8,23 @@ jobs:
|
|||||||
name: Gather Environments
|
name: Gather Environments
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Cache pip
|
- name: Cache pip
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-pip-
|
${{ runner.os }}-pip-
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.9'
|
||||||
- name: Install PlatformIO
|
- name: Install PlatformIO
|
||||||
run: pip install -r requirements.txt
|
run: pip install -r requirements.txt
|
||||||
- name: Get default environments
|
- name: Get default environments
|
||||||
id: envs
|
id: envs
|
||||||
run: |
|
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:
|
outputs:
|
||||||
environments: ${{ steps.envs.outputs.environments }}
|
environments: ${{ steps.envs.outputs.environments }}
|
||||||
|
|
||||||
@ -32,24 +34,27 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: get_default_envs
|
needs: get_default_envs
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
environment: ${{ fromJSON(needs.get_default_envs.outputs.environments) }}
|
environment: ${{ fromJSON(needs.get_default_envs.outputs.environments) }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Cache pip
|
- name: Cache pip
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-pip-
|
${{ runner.os }}-pip-
|
||||||
- name: Cache PlatformIO
|
- name: Cache PlatformIO
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ~/.platformio
|
path: ~/.platformio
|
||||||
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
|
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.9'
|
||||||
- name: Install PlatformIO
|
- name: Install PlatformIO
|
||||||
run: pip install -r requirements.txt
|
run: pip install -r requirements.txt
|
||||||
- name: Build firmware
|
- name: Build firmware
|
||||||
|
@ -9,8 +9,11 @@
|
|||||||
# (use `platformio_override.ini` when building for your own board; see `platformio_override.ini.sample` for an example)
|
# (use `platformio_override.ini` when building for your own board; see `platformio_override.ini.sample` for an example)
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
# Release / CI binaries
|
# CI binaries
|
||||||
default_envs = nodemcuv2, esp8266_2m, esp01_1m_full, esp32dev, esp32_eth, esp32s2_saola, lolin_s2_mini, esp32c3dev, esp32s3dev_8MB
|
ci_envs = nodemcuv2, esp8266_2m, esp01_1m_full, esp32dev, esp32_eth # ESP32 variant builds are temporarily excluded from CI due to toolchain issues on the GitHub Actions Linux environment
|
||||||
|
|
||||||
|
# Release binaries
|
||||||
|
default_envs = nodemcuv2, esp8266_2m, esp01_1m_full, esp32dev, esp32_eth, lolin_s2_mini, esp32c3dev, esp32s3dev_8MB
|
||||||
|
|
||||||
# Build everything
|
# Build everything
|
||||||
; default_envs = esp32dev, esp8285_4CH_MagicHome, codm-controller-0.6-rev2, codm-controller-0.6, esp32s2_saola, d1_mini_5CH_Shojo_PCB, d1_mini, sp501e, nodemcuv2, esp32_eth, anavi_miracle_controller, esp07, esp01_1m_full, m5atom, h803wf, d1_mini_ota, heltec_wifi_kit_8, esp8285_H801, d1_mini_debug, wemos_shield_esp32, elekstube_ips
|
; default_envs = esp32dev, esp8285_4CH_MagicHome, codm-controller-0.6-rev2, codm-controller-0.6, esp32s2_saola, d1_mini_5CH_Shojo_PCB, d1_mini, sp501e, nodemcuv2, esp32_eth, anavi_miracle_controller, esp07, esp01_1m_full, m5atom, h803wf, d1_mini_ota, heltec_wifi_kit_8, esp8285_H801, d1_mini_debug, wemos_shield_esp32, elekstube_ips
|
||||||
|
@ -4,63 +4,59 @@
|
|||||||
#
|
#
|
||||||
# pip-compile
|
# pip-compile
|
||||||
#
|
#
|
||||||
aiofiles==0.8.0
|
aiofiles==22.1.0
|
||||||
# via platformio
|
# via platformio
|
||||||
ajsonrpc==1.2.0
|
ajsonrpc==1.2.0
|
||||||
# via platformio
|
# via platformio
|
||||||
anyio==3.6.1
|
anyio==3.6.2
|
||||||
# via starlette
|
# via starlette
|
||||||
async-timeout==4.0.2
|
bottle==0.12.25
|
||||||
# via zeroconf
|
|
||||||
bottle==0.12.23
|
|
||||||
# via platformio
|
# via platformio
|
||||||
certifi==2022.12.7
|
certifi==2022.12.7
|
||||||
# via requests
|
# via requests
|
||||||
charset-normalizer==2.1.1
|
charset-normalizer==3.1.0
|
||||||
# via requests
|
# via requests
|
||||||
click==8.1.3
|
click==8.1.3
|
||||||
# via
|
# via
|
||||||
# platformio
|
# platformio
|
||||||
# uvicorn
|
# uvicorn
|
||||||
colorama==0.4.5
|
colorama==0.4.6
|
||||||
# via platformio
|
# via
|
||||||
h11==0.13.0
|
# click
|
||||||
|
# platformio
|
||||||
|
h11==0.14.0
|
||||||
# via
|
# via
|
||||||
# uvicorn
|
# uvicorn
|
||||||
# wsproto
|
# wsproto
|
||||||
idna==3.3
|
idna==3.4
|
||||||
# via
|
# via
|
||||||
# anyio
|
# anyio
|
||||||
# requests
|
# requests
|
||||||
ifaddr==0.2.0
|
marshmallow==3.19.0
|
||||||
# via zeroconf
|
|
||||||
marshmallow==3.17.0
|
|
||||||
# via platformio
|
# via platformio
|
||||||
packaging==21.3
|
packaging==23.1
|
||||||
# via marshmallow
|
# via marshmallow
|
||||||
platformio==6.1.4
|
platformio==6.1.6
|
||||||
# via -r requirements.in
|
# via -r requirements.in
|
||||||
pyelftools==0.29
|
pyelftools==0.29
|
||||||
# via platformio
|
# via platformio
|
||||||
pyparsing==3.0.9
|
|
||||||
# via packaging
|
|
||||||
pyserial==3.5
|
pyserial==3.5
|
||||||
# via platformio
|
# via platformio
|
||||||
requests==2.28.1
|
requests==2.28.2
|
||||||
# via platformio
|
# via platformio
|
||||||
semantic-version==2.10.0
|
semantic-version==2.10.0
|
||||||
# via platformio
|
# via platformio
|
||||||
sniffio==1.2.0
|
sniffio==1.3.0
|
||||||
# via anyio
|
# via anyio
|
||||||
starlette==0.20.4
|
starlette==0.23.1
|
||||||
# via platformio
|
# via platformio
|
||||||
tabulate==0.8.10
|
tabulate==0.9.0
|
||||||
# via platformio
|
# via platformio
|
||||||
urllib3==1.26.11
|
typing-extensions==4.5.0
|
||||||
|
# via starlette
|
||||||
|
urllib3==1.26.15
|
||||||
# via requests
|
# via requests
|
||||||
uvicorn==0.18.2
|
uvicorn==0.20.0
|
||||||
# via platformio
|
# via platformio
|
||||||
wsproto==1.1.0
|
wsproto==1.2.0
|
||||||
# via platformio
|
|
||||||
zeroconf==0.39.0
|
|
||||||
# via platformio
|
# via platformio
|
||||||
|
Loading…
Reference in New Issue
Block a user