Skip to content

Commit

Permalink
Added RPi Pico build to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jgromes committed Jan 27, 2024
1 parent eaa42b0 commit 9053786
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,3 +261,27 @@ jobs:
./clean.sh
./build.sh
sudo ./build/rpi-sx1261
rpi-pico-build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install dependencies
run: |
sudo apt update
sudo apt install git cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib
- name: Clone the SDK
run: |
mkdir -p ~/rpi-pico
cd ~/rpi-pico
git clone https://github.com/raspberrypi/pico-sdk.git
cd pico-sdk && git checkout 1.5.1
export PICO_SDK_PATH=~/rpi-pico/pico-sdk
- name: Build the example
run: |
cd $PWD/examples/NonArduino/Pico
./build.sh

0 comments on commit 9053786

Please sign in to comment.