-
-
Notifications
You must be signed in to change notification settings - Fork 4
128 lines (109 loc) · 4.97 KB
/
compile-sketch.yml
File metadata and controls
128 lines (109 loc) · 4.97 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
name: Compile Sketch
on:
- push
- pull_request
jobs:
compile-sketch:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
board:
# ATmega2560
# https://github.com/arduino/ArduinoCore-avr/blob/master/boards.txt
- fqbn: arduino:avr:mega
platforms: |
- name: arduino:avr
source-url: https://downloads.arduino.cc/packages/package_index.json
# ESP32
# https://github.com/espressif/arduino-esp32/blob/master/boards.txt
- fqbn: esp32:esp32:esp32
platforms: |
- name: esp32:esp32
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
# ESP32-S2
# https://github.com/espressif/arduino-esp32/blob/master/boards.txt
- fqbn: esp32:esp32:esp32s2
platforms: |
- name: esp32:esp32
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
# ESP32-C3
# https://github.com/espressif/arduino-esp32/blob/master/boards.txt
- fqbn: esp32:esp32:esp32c3
platforms: |
- name: esp32:esp32
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
# Artemis / Apollo3
# https://github.com/sparkfun/Arduino_Apollo3/blob/main/boards.txt
- fqbn: SparkFun:apollo3:sfe_artemis_atp
platforms: |
- name: SparkFun:apollo3
source-url: https://raw.githubusercontent.com/sparkfun/Arduino_Apollo3/master/package_sparkfun_apollo3_index.json
# ESP8266
# https://github.com/esp8266/Arduino/blob/master/boards.txt
- fqbn: esp8266:esp8266:thingdev
platforms: |
- name: esp8266:esp8266
source-url: https://arduino.esp8266.com/stable/package_esp8266com_index.json
# SAMD21
# https://github.com/arduino/ArduinoCore-samd/blob/master/boards.txt
- fqbn: arduino:samd:mkr1000
platforms: |
- name: arduino:samd
# source-url: https://downloads.arduino.cc/packages/package_index.json
# Nano BLE 33 / nRF52840
# https://github.com/arduino/ArduinoCore-mbed/blob/master/boards.txt
- fqbn: arduino:mbed:nano33ble
platforms: |
- name: arduino:mbed
# source-url: https://downloads.arduino.cc/packages/package_index.json
# RP2040
# https://github.com/arduino/ArduinoCore-mbed/blob/master/boards.txt
- fqbn: rp2040:rp2040:sparkfun_promicrorp2040
platforms: |
- name: rp2040:rp2040
source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
# STM32
# https://github.com/arduino/ArduinoCore-mbed/blob/master/boards.txt
- fqbn: STMicroelectronics:stm32:GenF4
platforms: |
- name: STMicroelectronics:stm32
source-url: https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Branch name
run: echo running on branch ${GITHUB_REF##*/}
- name: Compile Sketch
uses: arduino/compile-sketches@v1
with:
platforms: ${{ matrix.board.platforms }}
fqbn: ${{ matrix.board.fqbn }}
libraries: |
- source-path: ./
sketch-paths: |
- examples/EG25-G_Example1_GNSS_GPRMC
- examples/EG25-G_Example2_Identification
- examples/EG25-G_Example2_Identification_ESPSoftwareSerial
- examples/EG25-G_Example3_NetworkInfo
- examples/EG25-G_Example4_RegisterOperator
- examples/EG25-G_Example5_ReceiveSMS
- examples/EG25-G_Example6_SendSMS
- examples/EG25-G_Example7_ConfigurePacketSwitchedData
- examples/EG25-G_Example8_Ping
- examples/EG25-G_Example9_ThingSpeak
- examples/EG25-G_Example10_SocketPingPong
- examples/EG25-G_Example10_SocketPingPong_BinaryTCP
- examples/EG25-G_Example10_SocketPingPong_MultipleTCP
- examples/EG25-G_Example10_SocketPingPong_MultipleUDP
- examples/EG25-G_Example11_Clock
- examples/EG25-G_Example12_AssistNowOnline
- examples/EG25-G_Example13_SetClockWithNTP
- examples/EG25-G_Example14_AssistNowOffline
- examples/EG25-G_Example15_GNSS_NTRIP_Caster_With_Callbacks
- examples/EG25-G_Example16_GNSS_NTRIP_Caster__Polling
enable-warnings-report: true
enable-deltas-report: true
verbose: true
# outputs:
# report-artifact-name: ${{ steps.report-artifact-name.outputs.report-artifact-name }}