File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # name of the job
2+ name : Compile controller
3+
4+ # specify which paths to watch for changes
5+ on :
6+ workflow_dispatch :
7+ push :
8+ paths :
9+ - src/controller
10+ - LoggerCore/src
11+ - .github/workflows/compile.yaml
12+ - .github/workflows/compile-controller.yaml
13+
14+ # run compile via the compile.yaml
15+ jobs :
16+ compile :
17+ strategy :
18+ fail-fast : false
19+ matrix :
20+ # CHANGE program/lib/aux as needed
21+ program :
22+ - src : ' controller'
23+ lib : ' LoggerCore DeviceNameHelperRK FileHelperRK SequentialFileRK PublishQueueExtRK SparkFun_Qwiic_OpenLog_Arduino_Library'
24+ aux : ' '
25+ # CHANGE platforms as needed
26+ platform :
27+ - {name: 'p2', version: '6.3.2'}
28+
29+ # program name
30+ name : ${{ matrix.program.src }}-${{ matrix.platform.name }}-${{ matrix.platform.version }}
31+
32+ # workflow call
33+ uses : ./.github/workflows/compile.yaml
34+ with :
35+ platform : ${{ matrix.platform.name }}
36+ version : ${{ matrix.platform.version }}
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 2525 # CHANGE platforms as needed
2626 platform :
2727 - {name: 'p2', version: '6.3.2'}
28- - {name: 'photon', version: '2.3.1'}
29- - {name: 'argon', version: '4.2.0'}
3028
3129 # program name
3230 name : ${{ matrix.program.src }}-${{ matrix.platform.name }}-${{ matrix.platform.version }}
You can’t perform that action at this time.
0 commit comments