-
Notifications
You must be signed in to change notification settings - Fork 1
55 lines (53 loc) · 1.9 KB
/
build-variants.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
name: Build Variants
on:
push:
branches: ["latest"]
pull_request:
workflow_dispatch:
jobs:
build-ros-dev-tools:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Earthly
run: |
sudo wget 'https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64' -O /usr/local/bin/earthly
sudo chmod 755 /usr/local/bin/earthly
- name: Build ros-dev-tools deb
run: earthly +ros-dev-tools-deb
- name: Build ros-dev-tools rpm
run: earthly +ros-dev-tools-rpm
build-ros-build-essential:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Earthly
run: |
sudo wget 'https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64' -O /usr/local/bin/earthly
sudo chmod 755 /usr/local/bin/earthly
- name: Build ros-build-essential deb
run: earthly +ros-build-essential-deb
- name: Build ros-build-essential rpm
run: earthly +ros-build-essential-rpm
check-rpms:
runs-on: ubuntu-latest
needs: [build-ros-build-essential, build-ros-dev-tools]
steps:
- uses: actions/checkout@v3
- name: Setup Earthly
run: |
sudo wget 'https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64' -O /usr/local/bin/earthly
sudo chmod 755 /usr/local/bin/earthly
- name: Check RPM installation
run: earthly +check-rpms
check-debs:
runs-on: ubuntu-latest
needs: [build-ros-build-essential, build-ros-dev-tools]
steps:
- uses: actions/checkout@v3
- name: Setup Earthly
run: |
sudo wget 'https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64' -O /usr/local/bin/earthly
sudo chmod 755 /usr/local/bin/earthly
- name: Check deb installation
run: earthly +check-debs