Skip to content

Commit 982b071

Browse files
committed
github: update CI workflow
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
1 parent a7d61bb commit 982b071

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,34 @@ on:
44
- push
55
- pull_request
66

7-
env:
8-
DEFAULT_PYTHON: 3.9
9-
107
jobs:
118
pico:
129
name: RPi Pico compilation
1310
runs-on: ubuntu-20.04
1411
steps:
15-
- name: Check out code from GitHub
16-
uses: actions/checkout@v2
12+
- name: 'Check out code'
13+
uses: actions/checkout@v3
1714

18-
- name: Install dependencies
15+
- name: 'Install dependencies'
1916
run: |
2017
sudo apt-get install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi
2118
22-
- name: Generate RPi Pico binaries
19+
- name: 'Update Submodules'
20+
run: |
21+
git submodule sync --recursive
22+
git submodule update --init --recursive
23+
24+
- name: 'Configure'
25+
run: |
26+
mkdir -p build
27+
cmake -B build
28+
29+
- name: 'Build'
2330
run: |
24-
./build.sh
31+
make -C build
2532
26-
- name: 'Upload RPi Pico binary'
27-
uses: actions/upload-artifact@v2
33+
- name: 'Upload binary'
34+
uses: actions/upload-artifact@v3
2835
with:
2936
name: pico-uart-bridge.uf2
3037
path: build/uart_bridge.uf2

0 commit comments

Comments
 (0)