-
Notifications
You must be signed in to change notification settings - Fork 0
executable file
·44 lines (36 loc) · 1004 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: CI
on:
workflow_dispatch:
inputs:
name:
description: "Manual trigger"
schedule:
- cron: '0 4 * * *'
pull_request:
branches:
- '**'
jobs:
micro_ros_raspberrypi_pico_sdk:
runs-on: ubuntu-latest
container: ubuntu:20.04
steps:
- uses: actions/checkout@v2
with:
path: micro_ros_raspberrypi_pico_sdk
- name: Dependencies
shell: bash
run: |
apt update
export DEBIAN_FRONTEND=noninteractive
apt install -y g++ gcc-arm-none-eabi doxygen libnewlib-arm-none-eabi git python3 cmake
git clone --recurse-submodules https://github.com/raspberrypi/pico-sdk.git $HOME/pico-sdk
- name: Build
shell: bash
run: |
export PICO_SDK_PATH=$HOME/pico-sdk
cd micro_ros_raspberrypi_pico_sdk
mkdir build
cd build
cmake ..
make
(test -f pico_micro_ros_example.uf2) && true || false