rename run.sh to avoid misunderstanding #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Continuous Integration | |
on: | |
pull_request: | |
push: | |
branches: | |
- '*' | |
- '*/*' | |
- '**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
fetch-depth: 1 | |
- name: Run Docker container | |
run: docker compose up -d | |
- name: Build ROS Package | |
run: | | |
source ./.env | |
docker exec "$CONTAINER_NAME" /bin/zsh -c "source /opt/ros/jazzy/setup.zsh && colcon build" | |
shell: /usr/bin/bash -e {0} |