File tree Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Cross-compilation test 
2+ 
3+ on :
4+   push :
5+     branches :
6+       - main 
7+   workflow_dispatch :
8+ 
9+ 
10+ jobs :
11+   compile-sketch :
12+     runs-on : ubuntu-latest 
13+ 
14+     strategy :
15+       fail-fast : false 
16+ 
17+       matrix :
18+         board :
19+             #  RP2350
20+           #  https://github.com/arduino/ArduinoCore-mbed/blob/master/boards.txt
21+           - fqbn : rp2040:rp2040:sparkfun_iotredboard_rp2350 
22+           #      platforms: |
23+             name : rp2040:rp2040 
24+             source-url : https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json 
25+ 
26+     steps :
27+       - name : Checkout 
28+         uses : actions/checkout@v3 
29+         
30+       - name : Branch name 
31+         run : echo running on branch ${GITHUB_REF##*/} 
32+ 
33+             #  Setup Arduino command line - install esp32 and all the libs flux needs
34+       - name : Arduino - Install and setup the Arduino CLI 
35+         uses : arduino/setup-arduino-cli@v2 
36+ 
37+       - name : Arduino - Start config file 
38+         run : arduino-cli config init --additional-urls ${{ matrix.board.source-url}} 
39+ 
40+       - name : Arduino - Update index 
41+         run : arduino-cli core update-index 
42+ 
43+       - name : Arduino - Install platform 
44+         run : arduino-cli core install ${{ matrix.board.name}} 
45+ 
46+       - name : Arduino - Install libraries 
47+         run : | 
48+             arduino-cli config set library.enable_unsafe_install true  
49+             arduino-cli version 
50+             arduino-cli lib install 'PicoDVI - Adafruit Fork' 
51+ 
52+ name : Compile Sketch 
53+         run : arduino-cli compile --fqbn ${{ matrix.board.fqbn }} examples/1bit_double_buffer --library . 
54+         
55+     
56+ 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments