-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (28 loc) · 837 Bytes
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: build
on:
schedule:
- cron: 0 19 * * 0 # run at 4 AM JST on Sundays
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container: ubuntu:20.04
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Run setup script
run: |
./setup-dev-env.sh -y universe
- 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