-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Picoware CI build workflow pipeline.
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Picoware CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./picoware | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Arduino CLI | ||
uses: arduino/setup-arduino-cli@v1 | ||
|
||
- name: Arduino CLI Core Index Update | ||
run: | | ||
arduino-cli config init | ||
arduino-cli core update-index | ||
- name: Arduino RP2040 Platform Installation | ||
run: arduino-cli core install rp2040:rp2040 --additional-urls https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json | ||
|
||
- name: Picoware for RP2040 | ||
run: | | ||
arduino-cli compile --fqbn rp2040:rp2040:rpipico:opt=Optimize3 picoware.ino |