-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (38 loc) · 1.08 KB
/
githubci.yml
File metadata and controls
45 lines (38 loc) · 1.08 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
name: Build
on: [pull_request, push]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
board:
- xiao_nrf54l15
- xiao_nrf54l15_sense
- nrf54l15dk
- nrf54l10dk
- nrf54l05dk
steps:
- name: Checkout framework
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.x'
- name: Cache PlatformIO
uses: actions/cache@v5
with:
path: |
~/.platformio/.cache
~/.platformio/packages
~/.platformio/platforms
key: pio-${{ runner.os }}-${{ hashFiles('tests/blink/platformio.ini') }}
- name: Install PlatformIO
run: |
pip install --upgrade platformio
pip install adafruit-nrfutil
- name: Build blink for ${{ matrix.board }}
run: pio run -d tests/blink -e ${{ matrix.board }}