Functional learned vtr for Warthog #176
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: VTR Docker CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Maximize build space | |
uses: easimon/maximize-build-space@master | |
with: | |
root-reserve-mb: 25000 | |
swap-size-mb: 2048 | |
remove-dotnet: "true" | |
remove-android: "true" | |
remove-codeql: "true" | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Build the Docker image | |
run: docker build . --file Dockerfile --tag vtr3 | |
- name: run container | |
run: docker run -td --name vtr3 --privileged -v `pwd`:/home/asrl/vtr3:rw vtr3 | |
- name: colcon build lidar | |
run: docker exec -w /home/asrl/vtr3/main vtr3 bash -c "source | |
/opt/ros/humble/setup.sh && colcon build --symlink-install | |
--cmake-args -DCMAKE_BUILD_TYPE=Release" |