File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change 11name : Compile Examples
2- on : [push]
2+
3+ on :
4+ push :
5+
36jobs :
47 build :
58 runs-on : ubuntu-latest
69
710 strategy :
11+ fail-fast : true # Stop immediately if a failure occurs in any matrix job
812 matrix :
913 include :
1014 - board :
1115 fqbn : Inkplate_Motion:stm32:Inkplate6Motion
1216 additional-sketch-paths : |
1317 - examples
18+
1419 steps :
20+ # Ensure that Bash is used for compatibility with the prebuild script
1521 - name : Ensure Bash Shell
1622 run : sudo ln -sf /bin/bash /bin/sh
23+
24+ # Checkout the repository
1725 - name : Checkout
1826 uses : actions/checkout@v3
27+
28+ # Compile all examples
1929 - name : Compile examples
2030 uses : arduino/compile-sketches@v1
2131 with :
2939 - source-path: ./
3040 sketch-paths : |
3141 ${{ matrix.additional-sketch-paths }}
32- cli-compile-flags : |
33- - --warnings="default"
42+
43+ # Stop workflow if a compilation error occurs
44+ - name : Check for Compilation Errors
45+ if : failure() # This will trigger if the compile-sketches action fails
46+ run : exit 1
You can’t perform that action at this time.
0 commit comments