Skip to content

Merge Model-ROS into master #3

Merge Model-ROS into master

Merge Model-ROS into master #3

Workflow file for this run

# .github/workflows/colcon-build.yml
name: Build in Devcontainer 🚀
# Controls when the workflow will run
on:
# Triggers the workflow on push events for the main branch
push:
branches: [ "main", "master" ]
# Triggers the workflow on pull request events for the main branch
pull_request:
branches: [ "main", "master" ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
name: Colcon Build
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# Uses the devcontainers/ci action to build the devcontainer and run commands
# This action automatically finds your .devcontainer/devcontainer.json,
# builds the Docker image, starts the container, and executes the specified command.
- name: Build workspace in Devcontainer
uses: devcontainers/ci@v0.3
with:
runCmd: |
echo "--- Building ROS 2 workspace ---"
colcon build --symlink-install --event-handlers console_direct+