mirror of
https://github.com/Noltari/pico-uart-bridge.git
synced 2024-12-28 18:26:05 +00:00
2f05798e36
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
36 lines
766 B
YAML
36 lines
766 B
YAML
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
CI:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- name: 'Check out code'
|
|
uses: actions/checkout@v4
|
|
|
|
- name: 'Install dependencies'
|
|
run: |
|
|
sudo apt-get install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi
|
|
|
|
- name: 'Update Submodules'
|
|
run: |
|
|
git submodule sync --recursive
|
|
git submodule update --init --recursive
|
|
|
|
- name: 'Configure'
|
|
run: |
|
|
mkdir -p build
|
|
cmake -B build
|
|
|
|
- name: 'Build'
|
|
run: |
|
|
make -C build
|
|
|
|
- name: 'Upload binary'
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: pico-uart-bridge.uf2
|
|
path: build/uart_bridge.uf2
|
|
retention-days: 5
|