-
Notifications
You must be signed in to change notification settings - Fork 58
53 lines (50 loc) · 1.76 KB
/
main.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: CI
on:
schedule:
- cron: '0 0 * * 5'
push:
branches: [ master ]
pull_request:
branches: [ master ]
release:
types: [ published, created, edited ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
platform: ["esp32:esp32:esp32", "esp8266:esp8266:nodemcuv2"]
example: ["examples/VNC_ILI9341", "examples/VNC_ILI9341_touch", "examples/VNC_ST7789", "examples/VNC_ST7796_LovyanGFX"]
exclude:
- platform: "esp32:esp32:esp32"
example: "examples/VNC_ILI9341_touch"
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v4
- uses: arduino/compile-sketches@v1
with:
fqbn: ${{ matrix.platform }}
platforms: |
- name: "esp32:esp32"
- source-url: http://arduino.esp8266.com/stable/package_esp8266com_index.json
name: "esp8266:esp8266"
libraries: |
- source-path: ./
- source-url: https://github.com/adafruit/Adafruit-GFX-Library.git
- source-url: https://github.com/adafruit/Adafruit_BusIO.git
- source-url: https://github.com/Links2004/XPT2046.git
- source-url: https://github.com/Links2004/Adafruit_ILI9341.git
- source-url: https://github.com/Bodmer/TFT_eSPI.git
- source-url: https://github.com/lovyan03/LovyanGFX.git
sketch-paths: ${{ matrix.example }}
done:
needs: build
runs-on: ubuntu-latest
steps:
- name: Done
run: |
echo DONE