Skip to content

Commit 7f8226a

Browse files
committed
github: add CI
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
1 parent beb34da commit 7f8226a

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
env:
8+
DEFAULT_PYTHON: 3.9
9+
10+
jobs:
11+
pico:
12+
name: Raspberry Pi Pico compilation
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Check out code from GitHub
16+
uses: actions/checkout@v2
17+
18+
- name: Install dependencies
19+
run: |
20+
sudo apt-get install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi
21+
22+
- name: Generate RPi Pico binaries
23+
run: |
24+
./build.sh
25+
26+
- name: 'Upload RPi Pico binary'
27+
uses: actions/upload-artifact@v2
28+
with:
29+
name: pico-uart-bridge.uf2
30+
path: build/uart_bridge.uf2
31+
retention-days: 5

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "pico-sdk"]
22
path = pico-sdk
3-
url = git@github.com:raspberrypi/pico-sdk.git
3+
url = https://github.com/raspberrypi/pico-sdk.git

0 commit comments

Comments
 (0)