-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update Arduino Library Manager and PlatformIO installation ins…
…tructions
- Loading branch information
1 parent
027c958
commit 26d8be4
Showing
2 changed files
with
51 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Build and Test PlatformIO Examples | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
board: | ||
- esp32dev | ||
- esp32doit-devkit-v1 | ||
- esp32-wrover-kit | ||
- esp-wrover-kit | ||
example: | ||
- Esp32-platformIO/t-call-esp32-sim800l-alpn-protos | ||
- Esp32-platformIO/t-call-esp32-sim800l-aws | ||
- Esp32-platformIO/t-call-esp32-sim800l-cert-bundle | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.8' | ||
|
||
- name: Install PlatformIO | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install platformio | ||
- name: Initialise PlatformIO Project | ||
run: | | ||
pio project init --board ${{ matrix.board }} | ||
working-directory: ./examples/${{ matrix.example }} | ||
|
||
- name: Build Example | ||
run: | | ||
pio run | ||
working-directory: ./examples/${{ matrix.example }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters