Skip to content

Commit 3c7e9c1

Browse files
committed
update workflows
1 parent 566c094 commit 3c7e9c1

2 files changed

Lines changed: 39 additions & 2 deletions

File tree

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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 }}

.github/workflows/compile-publish.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ jobs:
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 }}

0 commit comments

Comments
 (0)