-
Notifications
You must be signed in to change notification settings - Fork 5
48 lines (44 loc) · 1.2 KB
/
main.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
# This is a basic workflow to help you get started with Actions
name: Build Snap
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the develop branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
SetupAndBuild:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Setup ROS
uses: ros-tooling/setup-ros@v0.7
- run: vcs --help
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- run: sudo snap install snapcraft --channel=6.x/stable --classic
- run: rosdep update
- run: |
cd simple-listener-py
./build-snap-amd64.sh
- run: |
cd simple-listener-cpp
./build-snap-amd64.sh
- run: |
cd simple-listener-dl-py
./build-snap-amd64.sh
- run: |
cd simple-talker-py
./build-snap-amd64.sh
- run: |
cd simple-talker-cpp
./build-snap-amd64.sh
- run: |
cd simple-talker-dl-py
./build-snap-amd64.sh