Repository navigation
69 lines (64 loc) · 2.05 KB
/
Copy pathmain.yml
File metadata and controls
69 lines (64 loc) · 2.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
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
name: CI
on:
push:
branches:
- master
pull_request:
permissions:
contents: read
jobs:
lint:
name: lint
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: arduino/arduino-lint-action@v2
with:
library-manager: update
compile-sketches:
name: compile (${{ matrix.board.fqbn }})
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
board:
- fqbn: arduino:avr:uno
platforms: |
- name: arduino:avr
- fqbn: esp32:esp32:esp32
platforms: |
- name: esp32:esp32
source-url: https://espressif.github.io/arduino-esp32/package_esp32_index.json
- fqbn: arduino:samd:mkrzero
platforms: |
- name: arduino:samd
- fqbn: rp2040:rp2040:rpipico
platforms: |
- name: rp2040:rp2040
source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
steps:
- uses: actions/checkout@v4
- uses: arduino/compile-sketches@v1
with:
fqbn: ${{ matrix.board.fqbn }}
platforms: ${{ matrix.board.platforms }}
libraries: |
- source-path: ./
sketch-paths: |
- examples/si5351_calibration
- examples/si5351_clk67_example
- examples/si5351_example
- examples/si5351_ext_ref
- examples/si5351_outputs
- examples/si5351_phase
- examples/si5351_sweeper
- examples/si5351_vcxo
enable-deltas-report: true
sketches-report-path: sketches-reports
- uses: actions/upload-artifact@v4
with:
# Artifact names must match the regex in size-deltas.yml.
name: sketches-report-${{ strategy.job-index }}
path: sketches-reports
# Host tests: placeholder. Test design and harnesses are owned by Test Lab;
# a host-test job will be added in a separate change once Test Lab supplies it.