-
Notifications
You must be signed in to change notification settings - Fork 80
executable file
·52 lines (46 loc) · 1.53 KB
/
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
45
46
47
48
49
50
51
52
name: CI
on:
pull_request:
branches:
- '**'
jobs:
micro_ros_platformio:
runs-on: ubuntu-22.04
container: ubuntu:22.04
strategy:
fail-fast: false
matrix:
platform: [teensy41, teensy40, teensy36, teensy35, teensy31, due, zero, olimex_e407, esp32dev, nanorp2040connect, portenta_h7_m7, teensy41_eth, nanorp2040connect_wifi, portenta_h7_m7_wifi, esp32dev_wifi, portenta_h7_m7_humble, portenta_h7_m7_rolling, teensy41_custom, pico]
steps:
- uses: actions/checkout@v3
with:
path: repo
- name: Install environment
uses: ./repo/.github/actions/platformio-env
- name: Build
shell: bash
run: |
export PATH=$PATH:~/.platformio/penv/bin
cd repo/ci
pio run -e ${{ matrix.platform }}
micro_ros_platformio_examples:
runs-on: ubuntu-22.04
container: ubuntu:22.04
steps:
- uses: actions/checkout@v3
with:
path: repo
- name: Install environment
uses: ./repo/.github/actions/platformio-env
- name: micro-ros_publisher
shell: bash
run: |
export PATH=$PATH:~/.platformio/penv/bin
cd repo/examples/micro-ros_publisher
pio run
- name: micro-ros_subscriber_wifi
shell: bash
run: |
export PATH=$PATH:~/.platformio/penv/bin
cd repo/examples/micro-ros_subscriber_wifi
pio run -e esp32cam