-
Notifications
You must be signed in to change notification settings - Fork 8
85 lines (83 loc) · 2.35 KB
/
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
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: build
on:
workflow_dispatch:
push:
paths:
- '**.repos'
- '**.yaml'
schedule:
- cron: '13 1 * * 2,6'
jobs:
ros-robot:
uses: ./.github/workflows/debs-from-repos.yaml
with:
repos: ros-robot
ros-desktop:
if: success() || failure() # can get cancelled
needs: ros-robot
uses: ./.github/workflows/debs-from-repos.yaml
with:
repos: ros-desktop
depends: ros-robot
ros-desktop-full:
if: success() || failure() # can get cancelled
needs: ros-desktop
uses: ./.github/workflows/debs-from-repos.yaml
with:
repos: ros-desktop-full
depends: ros-desktop
ros-eigenpy:
if: success() || failure() # can get cancelled
needs: ros-desktop-full
uses: ./.github/workflows/debs-from-repos.yaml
with:
repos: ros-eigenpy
depends: ros-desktop-full
extra_sbuild_conf: "$dpkg_buildpackage_user_options = ['--jobs=1'];"
ros-manipulation:
if: success() || failure() # can get cancelled
needs: ros-eigenpy
uses: ./.github/workflows/debs-from-repos.yaml
with:
repos: ros-manipulation
depends: ros-eigenpy
universe-0:
if: success() || failure() # can get cancelled
needs: ros-manipulation
uses: ./.github/workflows/debs-from-repos.yaml
with:
repos: universe-0
depends: ros-manipulation
universe-1:
if: success() || failure() # can get cancelled
needs: universe-0
uses: ./.github/workflows/debs-from-repos.yaml
with:
repos: universe-1
depends: universe-0
universe-2:
if: success() || failure() # can get cancelled
needs: universe-1
uses: ./.github/workflows/debs-from-repos.yaml
with:
repos: universe-2
depends: universe-1
deploy:
needs: universe-2
if: success() || failure() # can get cancelled
runs-on: ubuntu-22.04
env:
ROS_DISTRO: one
DEB_DISTRO: jammy
steps:
- name: get apt packages from last job
uses: actions/cache/restore@v4
with:
path: /home/runner/apt_repo
key: apt-repo-${{ env.DEB_DISTRO }}-${{ env.ROS_DISTRO }}-universe-2-${{ github.sha }}
- uses: v4hn/ros-deb-builder-action/deploy@rosotest
if: always()
with:
BRANCH: ${{ env.DEB_DISTRO }}-${{ env.ROS_DISTRO }}-unstable
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SQUASH_HISTORY: true