Skip to content

Commit ddd811a

Browse files
authored
Merge pull request #4 from NokoPlays/main
Create build.yml
2 parents c89f4b7 + b8dfabe commit ddd811a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/build.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: build
2+
on: push
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- run: sudo apt-get update
8+
- run: sudo apt-get install -y gcc-arm-none-eabi cmake
9+
- uses: actions/checkout@v3
10+
- run: git clone -b 1.5.0 https://github.com/raspberrypi/pico-sdk
11+
- run: cd pico-sdk && git submodule update --init lib/tinyusb
12+
- run: cmake -DPICO_SDK_PATH=$PWD/pico-sdk -DPICO_STDIO_USB=ON .
13+
- run: make
14+
- uses: actions/upload-artifact@v4
15+
with:
16+
name: pico_serprog
17+
path: |
18+
README.md
19+
COPYING
20+
pico_serprog.elf
21+
pico_serprog.uf2

0 commit comments

Comments
 (0)