Skip to content

Commit 22601cc

Browse files
committed
check controller functionality
1 parent ddf5220 commit 22601cc

2 files changed

Lines changed: 11 additions & 8 deletions

File tree

.github/workflows/compile-controller.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Compile controller
55
on:
66
push:
77
paths:
8-
- 'examples/controller/*'
8+
- examples/controller
99
- LoggerCore/src
1010
- .github/workflows/compile.yaml
1111
- .github/workflows/compile-controller.yaml
@@ -19,9 +19,7 @@ jobs:
1919
# CHANGE program/lib/aux as needed
2020
program:
2121
- name: 'controller'
22-
src: 'examples/controller'
2322
lib: 'LoggerCore DeviceNameHelperRK FileHelperRK SequentialFileRK PublishQueueExtRK SparkFun_Qwiic_OpenLog_Arduino_Library'
24-
aux: ''
2523
# CHANGE platforms as needed
2624
platform:
2725
- {name: 'p2', version: '6.3.2'}
@@ -33,9 +31,9 @@ jobs:
3331
uses: ./.github/workflows/compile.yaml
3432
secrets: inherit
3533
with:
36-
program: ${{ matrix.program.name }}
3734
platform: ${{ matrix.platform.name }}
3835
version: ${{ matrix.platform.version }}
39-
src: ${{ matrix.program.src }}
40-
lib: ${{ matrix.program.lib }}
41-
aux: ${{ matrix.program.aux }}
36+
program: ${{ matrix.program.name }}
37+
src: ${{ matrix.program.src || '' }}
38+
lib: ${{ matrix.program.lib || '' }}
39+
aux: ${{ matrix.program.aux || '' }}

.github/workflows/compile.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,16 @@ on:
2525
required: true
2626
type: string
2727
default: ""
28-
# optional path(s) to libraries' src folders to be included
28+
# optional path(s) to libraries to be included (must be in root or lib/ directory)
2929
lib:
3030
required: false
3131
type: string
3232
default: ""
33+
# optional default sub folder for the source files in libraries
34+
lib_sub_folder:
35+
required: false
36+
type: string
37+
default: "/src"
3338
# optional path(s) to specific resources to include in addition
3439
aux:
3540
required: false

0 commit comments

Comments
 (0)