-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (25 loc) · 1 KB
/
Copy pathbuild.yml
File metadata and controls
32 lines (25 loc) · 1 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
name: Build Matrix
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install arduino-cli
run: |
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh
echo "$PWD/bin" >> "$GITHUB_PATH"
- name: Setup cores
run: |
PHIL_URL="https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json"
arduino-cli core update-index --additional-urls "$PHIL_URL"
arduino-cli core install rp2040:rp2040 --additional-urls "$PHIL_URL"
arduino-cli core install arduino:mbed_rp2040
- name: Install libraries
run: |
arduino-cli lib install "Adafruit MCP4728"
arduino-cli lib install "Adafruit BusIO"
- name: Run build matrix
run: |
chmod +x Raiju_V1_Stick_mod_firmware/scripts/build_matrix.sh
./Raiju_V1_Stick_mod_firmware/scripts/build_matrix.sh