-
Notifications
You must be signed in to change notification settings - Fork 3
46 lines (37 loc) · 1.04 KB
/
ci-lts.yml
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
35
36
37
38
39
40
41
42
43
44
45
46
name: LTS CI
on:
schedule:
- cron: "0 4 1-7 * 1"
# First monday of the month, at 4am
push:
branches: [ foxy humble ]
pull_request:
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Set up GNAT toolchain
uses: ada-actions/toolchain@ce2020
with:
distrib: fsf
- name: Set up ROS2
uses: ros-tooling/setup-ros@v0.2
with:
required-ros-distributions: foxy
- name: Add additional required packages
run: sudo apt update && sudo apt install ros-foxy-test-msgs
- name: Build
run: >
source /opt/ros/foxy/setup.bash &&
colcon build --event-handlers console_direct+ --executor sequential
- name: Run tests
run: >
ls -al install &&
source ${{ github.workspace }}/install/setup.sh &&
ros2 run rclada rclada_selftest_dynamic &&
ros2 run rclada rclada_selftest_static &&
ros2 run rclada rclada_test_allocators 4