pico-uart-bridge/.github/workflows/ci.yml
Álvaro Fernández Rojas 7a8e3bf16c github: force Ubuntu 20.04
Apparently, ubuntu-latest still points to Ubuntu 18.04, which uses an older
and incompatible version of gcc-arm-none-eabi.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-02-06 12:23:07 +01:00

31 lines
632 B
YAML

name: CI
on:
- push
- pull_request
env:
DEFAULT_PYTHON: 3.9
jobs:
pico:
name: RPi Pico compilation
runs-on: ubuntu-20.04
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