-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'gkoh/master' into add-interval
- Loading branch information
Showing
17 changed files
with
4,255 additions
and
3,486 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 |
---|---|---|
|
@@ -10,22 +10,36 @@ on: | |
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
format: | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Run clang-format style check | ||
uses: jidicula/[email protected] | ||
with: | ||
clang-format-version: '13' | ||
check-path: '.' | ||
exclude-regex: 'lib/M5ez' | ||
exclude-regex: 'lib/M5ez/examples' | ||
|
||
# This workflow contains a matrix of build platforms | ||
build: | ||
strategy: | ||
matrix: | ||
platform: | ||
- m5stick-c | ||
- m5stick-c-plus | ||
- m5stack-core | ||
- m5stack-core2 | ||
|
||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
|
@@ -37,11 +51,13 @@ jobs: | |
run: | | ||
pip install -r requirements.txt | ||
- name: Build furble (M5StickC) | ||
run: platformio run -e m5stick-c | ||
|
||
- name: Build furble (M5StickC Plus) | ||
run: platformio run -e m5stick-c-plus | ||
- name: Build furble (${{ matrix.platform }}) | ||
run: platformio run -e ${{ matrix.platform }} | ||
|
||
- name: Build furble (M5Stack Core2) | ||
run: platformio run -e m5stack-core2 | ||
success: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- format | ||
- build | ||
steps: | ||
- run: echo "Success"! |
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
.pio | ||
.vscode | ||
|
||
src/furble.ino.cpp | ||
src/furble.ino.cpp |
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
Oops, something went wrong.