Skip to content

X17-Surface Build Test #2

X17-Surface Build Test

X17-Surface Build Test #2

Workflow file for this run

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!"