-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #177 from jdoubleu/github-ci
Configure GitHub CI
- Loading branch information
Showing
6 changed files
with
110 additions
and
9 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,69 @@ | ||
name: ESP-IDF | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
version: | ||
- release-v4.3 | ||
- release-v4.4 | ||
example: | ||
- calibration_helper | ||
- demo | ||
- dragon | ||
- grayscale_test | ||
- mpd_status | ||
- terminal | ||
- www-image | ||
|
||
continue-on-error: ${{ matrix.version == 'latest' }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: 'recursive' | ||
- uses: 'espressif/esp-idf-ci-action@main' | ||
with: | ||
esp_idf_version: ${{ matrix.version }} | ||
path: 'examples/${{ matrix.example }}' | ||
|
||
build-arduino: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: "espressif/idf:${{ matrix.version }}" | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
version: | ||
- release-v4.4 | ||
example: | ||
- weather | ||
include: | ||
- version: release-v4.4 | ||
arduino-esp32: 2.0.3 | ||
|
||
steps: | ||
- name: Install latest git | ||
run: | | ||
apt update -qq && apt install -y -qq git | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
- name: Install Arduino ESP | ||
run: | | ||
cd examples/${{ matrix.example }} | ||
mkdir components && cd components | ||
git clone --depth 1 --recursive --branch ${{ matrix.arduino-esp32 }} https://github.com/espressif/arduino-esp32.git arduino | ||
- name: esp-idf build | ||
run: | | ||
. $IDF_PATH/export.sh | ||
cd examples/${{ matrix.example }} | ||
idf.py build | ||
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
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,19 @@ | ||
menu "Application Settings" | ||
|
||
menu "WiFi Connection Settings" | ||
|
||
config WIFI_SSID | ||
string "WiFi SSID" | ||
default "myssid" | ||
help | ||
SSID (network name) for the smart paper to connect to. | ||
|
||
config WIFI_PASSWORD | ||
string "WiFi Password" | ||
default "mypassword" | ||
help | ||
WiFi password (WPA2 or newer) for the smart paper to use. | ||
|
||
endmenu | ||
|
||
endmenu |
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
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
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