Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/compile-blink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Compile blink
on:
push:
paths:
- src/blink
- 'src/blink/*'
- .github/workflows/compile.yaml
- .github/workflows/compile-blink.yaml

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compile-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Compile controller
on:
push:
paths:
- src/controller
- 'src/controller/*'
- LoggerCore/src
- .github/workflows/compile.yaml
- .github/workflows/compile-controller.yaml
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/compile-function.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# name of the job
name: Compile function

# specify which paths to watch for changes
on:
push:
paths:
- 'src/function/*'
- 'LoggerCore/src/*'
- .github/workflows/compile.yaml
- .github/workflows/compile-function.yaml

# run compile via the compile.yaml
jobs:
compile:
strategy:
fail-fast: false
matrix:
# CHANGE program/lib/aux as needed
program:
- src: 'function'
lib: ''
aux: 'LoggerCore/src/LoggerFunction* LoggerCore/src/LoggerModule*'
# CHANGE platforms as needed
platform:
- {name: 'p2', version: '6.3.2'}

# program name
name: ${{ matrix.program.src }}-${{ matrix.platform.name }}-${{ matrix.platform.version }}

# workflow call
uses: ./.github/workflows/compile.yaml
secrets: inherit
with:
platform: ${{ matrix.platform.name }}
version: ${{ matrix.platform.version }}
src: ${{ matrix.program.src }}
lib: ${{ matrix.program.lib }}
aux: ${{ matrix.program.aux }}
2 changes: 1 addition & 1 deletion .github/workflows/compile-i2c_scanner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Compile i2c scanner
on:
push:
paths:
- src/i2c_scanner
- 'src/i2c_scanner/*'
- .github/workflows/compile.yaml
- .github/workflows/compile-i2c_scanner.yaml

Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/compile-oled.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# name of the job
name: Compile oled

# specify which paths to watch for changes
on:
push:
paths:
- 'src/oled/*'
- .github/workflows/compile.yaml
- .github/workflows/compile-oled.yaml

# run compile via the compile.yaml
jobs:
compile:
strategy:
fail-fast: false
matrix:
# CHANGE program/lib/aux as needed
program:
- src: 'oled'
lib: 'Adafruit_SSD1306_RK/src Adafruit_GFX_RK/src Adafruit_BusIO_RK/src'
aux: ''
# CHANGE platforms as needed
platform:
- {name: 'p2', version: '6.3.2'}

# program name
name: ${{ matrix.program.src }}-${{ matrix.platform.name }}-${{ matrix.platform.version }}

# workflow call
uses: ./.github/workflows/compile.yaml
secrets: inherit
with:
platform: ${{ matrix.platform.name }}
version: ${{ matrix.platform.version }}
src: ${{ matrix.program.src }}
lib: ${{ matrix.program.lib }}
aux: ${{ matrix.program.aux }}
4 changes: 2 additions & 2 deletions .github/workflows/compile-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ name: Compile publish
on:
push:
paths:
- src/publish
- LoggerCore/src
- 'src/publish/*'
- 'LoggerCore/src/*'
- .github/workflows/compile.yaml
- .github/workflows/compile-publish.yaml

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compile.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Base workflow_call for compile actions
name: Base workflow for compile

on:
workflow_call:
Expand Down
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,12 @@
[submodule "lib/SparkFun_Qwiic_OpenLog_Arduino_Library"]
path = lib/SparkFun_Qwiic_OpenLog_Arduino_Library
url = https://github.com/sparkfun/SparkFun_Qwiic_OpenLog_Arduino_Library.git
[submodule "lib/Adafruit_SSD1306_RK"]
path = lib/Adafruit_SSD1306_RK
url = https://github.com/rickkas7/Adafruit_SSD1306_RK
[submodule "lib/Adafruit_GFX_RK"]
path = lib/Adafruit_GFX_RK
url = https://github.com/rickkas7/Adafruit_GFX_RK
[submodule "lib/Adafruit_BusIO_RK"]
path = lib/Adafruit_BusIO_RK
url = https://github.com/rickkas7/Adafruit_BusIO_RK
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
"charconv": "cpp",
"clocale": "cpp",
"span": "cpp",
"variant": "cpp"
"variant": "cpp",
"deque": "cpp"
}
}
Loading