-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (34 loc) · 1.05 KB
/
compile-oled.yaml
File metadata and controls
38 lines (34 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# name of the job
name: Compile oled
# specify which paths to watch for changes
on:
push:
paths:
- examples/oled
- .github/workflows/compile.yaml
- .github/workflows/compile-oled.yaml
# run compile via the compile.yaml
jobs:
compile:
strategy:
fail-fast: false
matrix:
# CHANGE program and specify lib/aux and non-default src as needed
program:
- name: 'oled'
lib: 'Adafruit_SSD1306_RK Adafruit_GFX_RK Adafruit_BusIO_RK'
# CHANGE platforms as needed
platform:
- {name: 'p2', version: '6.3.2'}
# program name
name: ${{ matrix.program.name }}-${{ matrix.platform.name }}-${{ matrix.platform.version }}
# workflow call
uses: ./.github/workflows/compile.yaml
secrets: inherit
with:
platform: ${{ matrix.platform.name }}
version: ${{ matrix.platform.version }}
program: ${{ matrix.program.name }}
src: ${{ matrix.program.src || '' }}
lib: ${{ matrix.program.lib || '' }}
aux: ${{ matrix.program.aux || '' }}