Skip to content

Commit

Permalink
better workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pat1 committed Nov 4, 2023
1 parent 0fe4c61 commit 002b01a
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 2 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/stima_v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: stima_v3
on:
push:
paths:
- 'platformio/stima_v3/stimawifi/**.ino'
- 'platformio/stima_v3/stimawifi/**.cpp'
- 'platformio/stima_v3/stimawifi/**.hpp'
- 'platformio/stima_v3/stimawifi/**.c'
- 'platformio/stima_v3/stimawifi/**.h'
- 'platformio/stima_v3/stimawifi/**platformio.ini'
- '**stima_v2.yml'
- 'libraries/**'
# branches: [ master ]
pull_request:

jobs:
main:
name: firmware_and_tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
#with:
# ref: explorer
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: '3.x'
- name: Install Platform IO
run: |
python -m pip install --upgrade pip
pip install -U platformio
# Runs a set of commands using the runners shell
- name: Build Stima V3 i2c-leaf
run: |
cd platformio/stima_v2/stimawifi
platformio run
4 changes: 3 additions & 1 deletion .github/workflows/stima_v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ on:
paths:
- 'platformio/stima_v3/**.ino'
- 'platformio/stima_v3/**.cpp'
- 'platformio/stima_v3/**.hpp'
- 'platformio/stima_v3/**.c'
- 'platformio/stima_v3/**.h'
- 'platformio/stima_v3/**platformio.ini'
- '**platformio.yml'
- '**stima_v3.yml'
- 'libraries/**'
# branches: [ master ]
pull_request:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/stima_v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ on:
- 'platformio/stima_v4/**.ino'
- 'platformio/stima_v4/**.cpp'
- 'platformio/stima_v4/**.hpp'
- 'platformio/stima_v4/**.c'
- 'platformio/stima_v4/**.h'
- 'platformio/stima_v4/**platformio.ini'
- '**platformio.yml'
- '**stima_v4.yml'
# branches: [ master ]
pull_request:

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ http://doc.rmap.cc

http://rmap.cc

[![Build status Platformio](https://github.com/r-map/rmap/workflows/stima_v2/badge.svg)](https://github.com/r-map/rmap/actions?query=workflow%3Astima_v2)
[![Build status Platformio](https://github.com/r-map/rmap/workflows/stima_v3/badge.svg)](https://github.com/r-map/rmap/actions?query=workflow%3Astima_v3)
[![Build status Platformio](https://github.com/r-map/rmap/workflows/stima_v4/badge.svg)](https://github.com/r-map/rmap/actions?query=workflow%3Astima_v4)
[![Build status Python](https://github.com/r-map/rmap/workflows/Python/badge.svg)](https://github.com/r-map/rmap/actions?query=workflow%3APython)
Expand Down

0 comments on commit 002b01a

Please sign in to comment.