Skip to content

Commit

Permalink
Test3, fully parameterized
Browse files Browse the repository at this point in the history
  • Loading branch information
OlafFilies committed Oct 4, 2024
1 parent b6b78d1 commit d4177ea
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/arduino_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,9 @@ jobs:
# board packages we want to run
# attention the matrix spans over the fqbn not platform so that we can choose different boards
# this example compiles each sample code for Arduino Uno, XMC2Go and XMC4700 boards
include:
- fqbn: ${{ fromJson(needs.setup.outputs.fqbn_hil) }}
- serials: ${{ fromJson(needs.setup.outputs.serials_hil) }}
fqbn: ${{ fromJson(needs.setup.outputs.fqbn_hil) }}

serials: ${{ fromJson(needs.setup.outputs.serials_hil) }}

# These are the steps which should run for each combination of fqbn and example code
steps:
Expand All @@ -281,15 +281,15 @@ jobs:
- name: Compile Sketch
run: |
export TMPDIR=$HOME/tmp
# mkdir -p $TMPDIR
# ln -sfn /opt/XMC-for-Arduino ~/.arduino15/packages/Infineon
# mkdir -p "$HOME/Arduino/libraries"
# cd $HOME/Arduino/libraries/${{ needs.setup.outputs.project }}
# arduino-cli compile --clean --log --warnings all \
# --fqbn ${{ matrix.fqbn }} \
# --libraries="." \
# --libraries="$HOME/Arduino/libraries/." ${{ matrix.example }} \
# --export-binaries
mkdir -p $TMPDIR
ln -sfn /opt/XMC-for-Arduino ~/.arduino15/packages/Infineon
mkdir -p "$HOME/Arduino/libraries"
cd $HOME/Arduino/libraries/${{ needs.setup.outputs.project }}
arduino-cli compile --clean --log --warnings all \
--fqbn ${{ matrix.fqbn }} \
--libraries="." \
--libraries="$HOME/Arduino/libraries/." ${{ matrix.example }} \
--export-binaries
# Flashes the compiled HEX file onto the selected MCU
# REPO: the name of the repository which is also the link name
Expand Down

0 comments on commit d4177ea

Please sign in to comment.