-
Notifications
You must be signed in to change notification settings - Fork 2
31 lines (28 loc) · 926 Bytes
/
TestCompile.yml
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
# TestCompile.yml
# Github workflow script to test compile all examples of an Arduino library repository.
#
# Copyright (C) 2020-2023 Armin Joachimsmeyer
# https://github.com/ArminJo/Github-Actions
#
# This is the name of the workflow, visible on GitHub UI.
name: TestCompile
on: push
jobs:
build:
name: Test compiling examples for Uno
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
# - name: Checkout new BlueDisplay library
# uses: actions/checkout@master
# with:
# repository: ArminJo/Arduino-BlueDisplay
# ref: master
# path: CustomLibrary_BD # must contain string "Custom"
# # Must remove BlueDisplay from REQUIRED_LIBRARIES
- name: Compile all examples
uses: ArminJo/arduino-test-compile@master
with:
sketch-names: SimpleDSO.ino
required-libraries: BlueDisplay