File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ name: Compile blink
55on :
66 push :
77 paths :
8- - ' examples/blink/* '
8+ - examples/blink
99 - .github/workflows/compile.yaml
1010 - .github/workflows/compile-blink.yaml
1111
Original file line number Diff line number Diff line change 1616 strategy :
1717 fail-fast : false
1818 matrix :
19- # CHANGE program/ lib/aux as needed
19+ # CHANGE program and specify lib/aux and non-default src as needed
2020 program :
2121 - name : ' controller'
2222 lib : ' LoggerCore DeviceNameHelperRK FileHelperRK SequentialFileRK PublishQueueExtRK SparkFun_Qwiic_OpenLog_Arduino_Library'
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ name: Compile function
55on :
66 push :
77 paths :
8- - ' examples/function/* '
9- - ' LoggerCore/src/* '
8+ - examples/function
9+ - LoggerCore/src
1010 - .github/workflows/compile.yaml
1111 - .github/workflows/compile-function.yaml
1212
1616 strategy :
1717 fail-fast : false
1818 matrix :
19- # CHANGE program/ lib/aux as needed
19+ # CHANGE program and specify lib/aux and non-default src as needed
2020 program :
2121 - name : ' function'
2222 aux : ' LoggerCore/src/LoggerFunction* LoggerCore/src/LoggerModule*'
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ name: Compile i2c scanner
55on :
66 push :
77 paths :
8- - ' examples/i2c_scanner/* '
8+ - examples/i2c_scanner
99 - .github/workflows/compile.yaml
1010 - .github/workflows/compile-i2c_scanner.yaml
1111
1515 strategy :
1616 fail-fast : false
1717 matrix :
18- # CHANGE program/ lib/aux as needed
18+ # CHANGE program and specify lib/aux and non-default src as needed
1919 program :
2020 - name : ' i2s_scanner'
21- src : ' examples/i2c_scanner'
22- lib : ' '
23- aux : ' '
2421 # CHANGE platforms as needed
2522 platform :
2623 - {name: 'photon', version: '2.3.1'}
3431 uses : ./.github/workflows/compile.yaml
3532 secrets : inherit
3633 with :
37- program : ${{ matrix.program.name }}
3834 platform : ${{ matrix.platform.name }}
3935 version : ${{ matrix.platform.version }}
40- src : ${{ matrix.program.src }}
41- lib : ${{ matrix.program.lib }}
42- aux : ${{ matrix.program.aux }}
36+ program : ${{ matrix.program.name }}
37+ src : ${{ matrix.program.src || '' }}
38+ lib : ${{ matrix.program.lib || '' }}
39+ aux : ${{ matrix.program.aux || '' }}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ name: Compile oled
55on :
66 push :
77 paths :
8- - ' examples/oled/* '
8+ - examples/oled
99 - .github/workflows/compile.yaml
1010 - .github/workflows/compile-oled.yaml
1111
@@ -15,12 +15,10 @@ jobs:
1515 strategy :
1616 fail-fast : false
1717 matrix :
18- # CHANGE program/ lib/aux as needed
18+ # CHANGE program and specify lib/aux and non-default src as needed
1919 program :
2020 - name : ' oled'
21- src : ' examples/oled'
2221 lib : ' Adafruit_SSD1306_RK Adafruit_GFX_RK Adafruit_BusIO_RK'
23- aux : ' '
2422 # CHANGE platforms as needed
2523 platform :
2624 - {name: 'p2', version: '6.3.2'}
3230 uses : ./.github/workflows/compile.yaml
3331 secrets : inherit
3432 with :
35- program : ${{ matrix.program.name }}
3633 platform : ${{ matrix.platform.name }}
3734 version : ${{ matrix.platform.version }}
38- src : ${{ matrix.program.src }}
39- lib : ${{ matrix.program.lib }}
40- aux : ${{ matrix.program.aux }}
35+ program : ${{ matrix.program.name }}
36+ src : ${{ matrix.program.src || '' }}
37+ lib : ${{ matrix.program.lib || '' }}
38+ aux : ${{ matrix.program.aux || '' }}
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ name: Compile publish
55on :
66 push :
77 paths :
8- - ' examples/publish/* '
9- - ' LoggerCore/src/* '
8+ - examples/publish
9+ - LoggerCore/src
1010 - .github/workflows/compile.yaml
1111 - .github/workflows/compile-publish.yaml
1212
You can’t perform that action at this time.
0 commit comments