Skip to content

Commit

Permalink
Merge pull request #357 from sivar2311/master
Browse files Browse the repository at this point in the history
Update Build workflows
  • Loading branch information
sivar2311 authored Dec 13, 2023
2 parents f10980d + 9140045 commit b324295
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-esp8266-esp32.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build for ESP8266-ESP32

name: Build Examples for ESP8266 and ESP32
on:
workflow_dispatch:

pull_request:
branches: [ master ]
paths:
Expand Down Expand Up @@ -31,15 +32,14 @@ jobs:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Step 4 - Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v3
- name: Step 5 - Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install --upgrade platformio
- name: Step 6 - Install library dependencies
run: |
pio lib --global install "bblanchon/ArduinoJson"
pio lib --global install "links2004/WebSockets"
pio pkg install -l "bblanchon/ArduinoJson" -l "links2004/WebSockets" -g
- name: Step 7 - Run build test using PlatformIO
run: pio ci --lib="." -b esp12e -b esp32dev
env:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/build-rpipicow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ jobs:
pio pkg install --global --platform https://github.com/maxgerhardt/platform-raspberrypi.git
- name: Step 4 - Install library dependencies
run: |
pio lib --global install "bblanchon/ArduinoJson"
pio lib --global install "links2004/WebSockets"
pio pkg install -l "bblanchon/ArduinoJson" -l "links2004/WebSockets" -g
- name: Step 5 - Run build test using PlatformIO
run: pio ci --lib="." -b rpipicow
env:
Expand Down

0 comments on commit b324295

Please sign in to comment.