Skip to content

Commit

Permalink
github: add CI
Browse files Browse the repository at this point in the history
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
  • Loading branch information
Noltari committed Feb 6, 2021
1 parent beb34da commit 7f8226a
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on:
- push
- pull_request

env:
DEFAULT_PYTHON: 3.9

jobs:
pico:
name: Raspberry Pi Pico compilation
runs-on: ubuntu-latest
steps:
- name: Check out code from GitHub
uses: actions/checkout@v2

- name: Install dependencies
run: |
sudo apt-get install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi
- name: Generate RPi Pico binaries
run: |
./build.sh
- name: 'Upload RPi Pico binary'
uses: actions/upload-artifact@v2
with:
name: pico-uart-bridge.uf2
path: build/uart_bridge.uf2
retention-days: 5
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "pico-sdk"]
path = pico-sdk
url = git@github.com:raspberrypi/pico-sdk.git
url = https://github.com/raspberrypi/pico-sdk.git

0 comments on commit 7f8226a

Please sign in to comment.