File tree 1 file changed +17
-12
lines changed
1 file changed +17
-12
lines changed Original file line number Diff line number Diff line change @@ -93,19 +93,24 @@ jobs:
93
93
- name : Branch name
94
94
run : echo running on branch ${GITHUB_REF##*/}
95
95
96
- - name : Compile Sketch
97
- uses : arduino/compile-sketches@v1.1.0
98
- with :
99
- platforms : ${{ matrix.board.platforms }}
100
- fqbn : ${{ matrix.board.fqbn }}
101
- libraries : |
102
- - source-path: ./
103
- sketch-paths : |
104
- - examples/Example01_Basic_OneShot
105
- enable-warnings-report : true
106
- enable-deltas-report : true
107
- verbose : true
96
+ - name : Arduino - Start config file
97
+ run : arduino-cli config init --additional-urls ${{ matrix.board.source-url}}
98
+
99
+ - name : Arduino - Update index
100
+ run : arduino-cli core update-index
101
+
102
+ - name : Arduino - Install platform
103
+ run : arduino-cli core install ${{ matrix.board.name}}
108
104
105
+ - name : Arduino - Install libraries
106
+ run : |
107
+ arduino-cli config set library.enable_unsafe_install true
108
+ arduino-cli version
109
+ arduino-cli lib install 'SparkFun_Toolkit'
110
+
111
+ - name : Compile Sketch
112
+ run : arduino-cli compile --fqbn ${{ matrix.board.fqbn }} examples/Example01_Basic_OneShot --library .
113
+
109
114
# outputs:
110
115
# report-artifact-name: ${{ steps.report-artifact-name.outputs.report-artifact-name }}
111
116
You can’t perform that action at this time.
0 commit comments