-
Notifications
You must be signed in to change notification settings - Fork 23
65 lines (61 loc) · 2.05 KB
/
unstable.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Unstable
on:
push:
branches:
- master
pull_request:
paths:
- 'tesseract**'
- '.github/workflows/unstable.yml'
schedule:
- cron: '0 5 * * *'
workflow_dispatch:
release:
types:
- released
jobs:
ci:
name: ${{ matrix.distro }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- os: focal
distro: foxy
vcs-file:
- os: jammy
distro: humble
vcs-file: .github/workflows/dependencies.repos
- os: noble
distro: jazzy
vcs-file: .github/workflows/dependencies.repos
- os: noble
distro: rolling
vcs-file: .github/workflows/dependencies.repos
container:
image: ghcr.io/tesseract-robotics/tesseract_qt:${{ matrix.os }}-master
env:
CCACHE_DIR: ${{ github.workspace }}/${{ matrix.distro }}/.ccache
DEBIAN_FRONTEND: noninteractive
TZ: Etc/UTC
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
path: target_ws/src
- name: Install Dependencies
shell: bash
run: |
curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | tee /etc/apt/sources.list.d/ros2.list > /dev/null
apt update -qq
apt install -y ros-${{ matrix.distro }}-ros-base
- name: Build and Tests
uses: tesseract-robotics/colcon-action@v8
with:
before-script: source /opt/tesseract_qt/install/setup.bash && source /opt/ros/${{ matrix.distro }}/setup.bash
ccache-prefix: ${{ matrix.distro }}
vcs-file: ${{ matrix.vcs-file }}
target-path: target_ws/src
target-args: --cmake-args -DCMAKE_BUILD_TYPE=Debug -DTESSERACT_ENABLE_TESTING=ON