Skip to content

Commit feea5ea

Browse files
authored
Merge pull request #2 from KopfLab/dev
Dev
2 parents 2c4b784 + 14aa1a5 commit feea5ea

23 files changed

+1047
-17
lines changed

.github/workflows/compile-blink.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Compile blink
55
on:
66
push:
77
paths:
8-
- src/blink
8+
- 'src/blink/*'
99
- .github/workflows/compile.yaml
1010
- .github/workflows/compile-blink.yaml
1111

.github/workflows/compile-controller.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Compile controller
55
on:
66
push:
77
paths:
8-
- src/controller
8+
- 'src/controller/*'
99
- LoggerCore/src
1010
- .github/workflows/compile.yaml
1111
- .github/workflows/compile-controller.yaml
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 function
3+
4+
# specify which paths to watch for changes
5+
on:
6+
push:
7+
paths:
8+
- 'src/function/*'
9+
- 'LoggerCore/src/*'
10+
- .github/workflows/compile.yaml
11+
- .github/workflows/compile-function.yaml
12+
13+
# run compile via the compile.yaml
14+
jobs:
15+
compile:
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
# CHANGE program/lib/aux as needed
20+
program:
21+
- src: 'function'
22+
lib: ''
23+
aux: 'LoggerCore/src/LoggerFunction* LoggerCore/src/LoggerModule*'
24+
# CHANGE platforms as needed
25+
platform:
26+
- {name: 'p2', version: '6.3.2'}
27+
28+
# program name
29+
name: ${{ matrix.program.src }}-${{ matrix.platform.name }}-${{ matrix.platform.version }}
30+
31+
# workflow call
32+
uses: ./.github/workflows/compile.yaml
33+
secrets: inherit
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-i2c_scanner.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Compile i2c scanner
55
on:
66
push:
77
paths:
8-
- src/i2c_scanner
8+
- 'src/i2c_scanner/*'
99
- .github/workflows/compile.yaml
1010
- .github/workflows/compile-i2c_scanner.yaml
1111

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# name of the job
2+
name: Compile oled
3+
4+
# specify which paths to watch for changes
5+
on:
6+
push:
7+
paths:
8+
- 'src/oled/*'
9+
- .github/workflows/compile.yaml
10+
- .github/workflows/compile-oled.yaml
11+
12+
# run compile via the compile.yaml
13+
jobs:
14+
compile:
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
# CHANGE program/lib/aux as needed
19+
program:
20+
- src: 'oled'
21+
lib: 'Adafruit_SSD1306_RK/src Adafruit_GFX_RK/src Adafruit_BusIO_RK/src'
22+
aux: ''
23+
# CHANGE platforms as needed
24+
platform:
25+
- {name: 'p2', version: '6.3.2'}
26+
27+
# program name
28+
name: ${{ matrix.program.src }}-${{ matrix.platform.name }}-${{ matrix.platform.version }}
29+
30+
# workflow call
31+
uses: ./.github/workflows/compile.yaml
32+
secrets: inherit
33+
with:
34+
platform: ${{ matrix.platform.name }}
35+
version: ${{ matrix.platform.version }}
36+
src: ${{ matrix.program.src }}
37+
lib: ${{ matrix.program.lib }}
38+
aux: ${{ matrix.program.aux }}

.github/workflows/compile-publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ name: Compile publish
55
on:
66
push:
77
paths:
8-
- src/publish
9-
- LoggerCore/src
8+
- 'src/publish/*'
9+
- 'LoggerCore/src/*'
1010
- .github/workflows/compile.yaml
1111
- .github/workflows/compile-publish.yaml
1212

.github/workflows/compile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Base workflow_call for compile actions
1+
name: Base workflow for compile
22

33
on:
44
workflow_call:

.gitmodules

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,12 @@
1313
[submodule "lib/SparkFun_Qwiic_OpenLog_Arduino_Library"]
1414
path = lib/SparkFun_Qwiic_OpenLog_Arduino_Library
1515
url = https://github.com/sparkfun/SparkFun_Qwiic_OpenLog_Arduino_Library.git
16+
[submodule "lib/Adafruit_SSD1306_RK"]
17+
path = lib/Adafruit_SSD1306_RK
18+
url = https://github.com/rickkas7/Adafruit_SSD1306_RK
19+
[submodule "lib/Adafruit_GFX_RK"]
20+
path = lib/Adafruit_GFX_RK
21+
url = https://github.com/rickkas7/Adafruit_GFX_RK
22+
[submodule "lib/Adafruit_BusIO_RK"]
23+
path = lib/Adafruit_BusIO_RK
24+
url = https://github.com/rickkas7/Adafruit_BusIO_RK

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
"charconv": "cpp",
7575
"clocale": "cpp",
7676
"span": "cpp",
77-
"variant": "cpp"
77+
"variant": "cpp",
78+
"deque": "cpp"
7879
}
7980
}

0 commit comments

Comments
 (0)