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 eee67cf commit 2b6ad65
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/arduino_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +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
fqbn: ${{ fromJson(needs.setup.outputs.fqbn_hil) }}

include:
- 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 Down Expand Up @@ -303,7 +304,10 @@ jobs:
declare -a devicelist
declare -a serials
export HEXNAME=`tr ':' '.' <<<"${{ matrix.fqbn }}"`
serials=(${{ fromJson(needs.setup.outputs.serials_hil) }})
echo "fqbn: " ${{ matrix.fqbn }}
echo "serials: " ${{ matrix.serials }}
echo "Build HEX name: " $HEXNAME
echo "Port Serial Num: " ${serials[@]}
Expand Down

0 comments on commit 2b6ad65

Please sign in to comment.