-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 931 Bytes
/
manual.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
name: X17-Surface Build Test
# Controls when the action will run.
# Workflow runs when manually triggered using the UI, or when a push or pull request is made to the main branch
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
steps:
# Check out the repository
- name: Checkout code
uses: actions/checkout@v2
# Set up ROS 2 (Jazzy)
- name: Set up ROS 2
uses: ros-tooling/setup-ros2@main
with:
ros-distro: jazzy
# Install dependencies from requirements.txt
- name: Install dependencies
run: |
sudo apt-get -y update
sudo apt-get 0y install python3-pip
pip3 install -r requirements.txt
# Success message
- name: Success
run: echo "Success!"