Skip to content

build-main

build-main #799

Workflow file for this run

name: build-main
on:
schedule:
- cron: 0 12 * * *
workflow_dispatch:
jobs:
build-main:
runs-on: ubuntu-latest
container: ubuntu:20.04
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
ref: ""
- name: Run setup script
run: |
./setup-dev-env.sh -y
- name: Set git config
uses: autowarefoundation/autoware-github-actions/set-git-config@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run vcs import
run: |
mkdir src
vcs import src < autoware.repos
- name: Run rosdep install
run: |
sudo apt-get -y update
rosdep update
DEBIAN_FRONTEND=noninteractive rosdep install -y --from-paths src --ignore-src --rosdistro galactic
- name: Build
run: |
. /opt/ros/galactic/setup.sh
colcon build --event-handlers console_cohesion+ --cmake-args -DCMAKE_BUILD_TYPE=Release