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
# Do not cancel all jobs / architectures if one job fails
87
74
fail-fast: false
@@ -91,68 +78,13 @@ jobs:
91
78
92
79
# First of all, we clone the repo using the `checkout` action.
93
80
- name: Checkout
94
-
uses: actions/checkout@master
95
-
96
-
# We use the `arduino/setup-arduino-cli` action to install and
97
-
# configure the Arduino CLI on the system.
98
-
- name: Setup Arduino CLI
99
-
uses: arduino/setup-arduino-cli@v1.0.0
100
-
101
-
- name: Link this repository as Arduino library
102
-
run: |
103
-
mkdir -p $HOME/Arduino/libraries
104
-
ln -s $PWD $HOME/Arduino/libraries/.
105
-
106
-
- name: Install platform from build matrix
107
-
env:
108
-
FQBN: ${{ matrix.arduino-boards-fqbn }}
109
-
run: |
110
-
arduino-cli core update-index
111
-
if [ "${{ matrix.platform }}" == "" ]; then echo -e ""$RED"ERROR: platform missing for board ${FQBN%|*}. Check your matrix.includes entries"; exit 1; fi
112
-
if [[ ${{ matrix.platform }} != *"arduino"* && ! -f ./arduino-cli.yaml ]]; then echo -e ""$RED"Non Arduino platform ${{ matrix.platform }} requested, but file arduino-cli.yaml is missing."; exit 1; fi
113
-
arduino-cli core install ${{ matrix.platform }} # for each job / board one platform is installed
114
-
arduino-cli board listall
115
-
if [ ${{ matrix.platform }} == "esp32:esp32" ]; then pip install pyserial; fi
116
-
117
-
- name: List installed boards with their FQBN
118
-
run: |
119
-
arduino-cli board listall
120
-
# ls -l $HOME/.arduino15/packages/ # I see only arduino and one of the Attiny cores but not all 3 together
0 commit comments