-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c5d8e9
commit 57131f9
Showing
5 changed files
with
61 additions
and
11 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 |
---|---|---|
@@ -1,21 +1,28 @@ | ||
# makefile to build examples with platformi | ||
# | ||
.PHONY: run clean upload monitor ci envdump | ||
.PHONY: phony | ||
|
||
run: | ||
run: phony | ||
pio run | ||
|
||
envdump: | ||
envdump: phony | ||
-pio run --target envdump | ||
|
||
clean: | ||
clean: phony | ||
-pio run --target clean | ||
|
||
upload: | ||
pio run --target upload | ||
upload: phony | ||
pio run --target upload | ||
|
||
monitor: | ||
pio device monitor | ||
monitor: phony | ||
pio device monitor | ||
|
||
tags: | ||
tags: phony | ||
ctags -R | ||
|
||
ci: | ||
find .. -maxdepth 2 -not -path '\.\./\.common/*' -name Makefile \ | ||
-exec sh -c 'make -C $$(dirname {})' \; | ||
phony: | ||
|
||
|
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,27 @@ | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
name: build examples | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: install python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.13' | ||
|
||
- name: install tools | ||
run: | | ||
pip install platformio==6.1.10 | ||
- name: build examples | ||
run: make -C .common ci |
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,16 @@ | ||
name: 'Stale issue handler' | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@main | ||
with: | ||
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days' | ||
days-before-stale: 90 | ||
days-before-close: 5 | ||
exempt-issue-labels: 'blocked,must,should,keep' |
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 |
---|---|---|
|
@@ -6,5 +6,5 @@ src_dir = . | |
platform = espressif32 | ||
board = esp32dev | ||
framework = arduino | ||
lib_deps=olikraus/[email protected].1 | ||
lib_deps=olikraus/[email protected].2 | ||
|
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 |
---|---|---|
|
@@ -6,4 +6,4 @@ src_dir = . | |
platform = espressif8266 | ||
board = nodemcuv2 | ||
framework = arduino | ||
lib_deps=olikraus/[email protected].1 | ||
lib_deps=olikraus/[email protected].2 |