You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/compile.yml
+24-31Lines changed: 24 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -7,14 +7,15 @@ jobs:
7
7
build:
8
8
runs-on: ubuntu-latest
9
9
10
-
steps:
11
-
# Install Arduino CLI manually
12
-
- name: Install Arduino CLI
13
-
run: |
14
-
wget -qO- https://downloads.arduino.cc/arduino-cli/arduino-cli_latest_Linux_64bit.tar.gz | tar -xvz
15
-
sudo mv arduino-cli /usr/local/bin/
16
-
arduino-cli version || exit 1
10
+
strategy:
11
+
matrix:
12
+
include:
13
+
- board:
14
+
fqbn: Inkplate_Motion:stm32:Inkplate6Motion
15
+
additional-sketch-paths: |
16
+
- examples
17
17
18
+
steps:
18
19
# Ensure that Bash is used for compatibility with the prebuild script
19
20
- name: Ensure Bash Shell
20
21
run: sudo ln -sf /bin/bash /bin/sh
@@ -23,28 +24,20 @@ jobs:
23
24
- name: Checkout
24
25
uses: actions/checkout@v3
25
26
26
-
# Add custom package index URL and update core index
27
-
- name: Configure Arduino CLI
28
-
run: |
29
-
arduino-cli config init
30
-
arduino-cli config set board_manager.additional_urls https://github.com/SolderedElectronics/Dasduino-Board-Definitions-for-Arduino-IDE/raw/master/package_Dasduino_Boards_index.json
31
-
arduino-cli core update-index
32
-
33
-
# Install the required platform
34
-
- name: Install Arduino Core
35
-
run: |
36
-
arduino-cli core install Inkplate_Motion:stm32
37
-
38
-
# Compile all examples and include the current repository as a library
27
+
# Compile all examples
39
28
- name: Compile examples
40
-
run: |
41
-
set -e # Exit immediately if a command exits with a non-zero status
0 commit comments