forked from nasa/astrobee
-
Notifications
You must be signed in to change notification settings - Fork 0
82 lines (62 loc) · 2.54 KB
/
ci_pr.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: Build and Test CI for Pull Requests
on:
pull_request:
branches: [ 'master', 'develop' ]
jobs:
build-xenial:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Checkout submodule
run: git submodule update --init --depth 1 description/media
- name: Build code for Ubuntu 16
run: docker build . -f ./scripts/docker/astrobee.Dockerfile
--build-arg UBUNTU_VERSION=16.04
--build-arg ROS_VERSION=kinetic
--build-arg PYTHON=''
--build-arg REMOTE=ghcr.io/nasa
-t astrobee/astrobee:latest-ubuntu16.04
- name: Test code
run: docker build . -f ./scripts/docker/test_astrobee.Dockerfile
--build-arg UBUNTU_VERSION=16.04
-t astrobee/astrobee:test-ubuntu16.04
build-bionic:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Checkout submodule
run: git submodule update --init --depth 1 description/media
- name: Build code for Ubuntu 18
run: docker build . -f ./scripts/docker/astrobee.Dockerfile
--build-arg UBUNTU_VERSION=18.04
--build-arg ROS_VERSION=melodic
--build-arg PYTHON=3
--build-arg REMOTE=ghcr.io/nasa
-t astrobee/astrobee:latest-ubuntu18.04
- name: Test code
run: docker build . -f ./scripts/docker/test_astrobee.Dockerfile
--build-arg UBUNTU_VERSION=18.04
-t astrobee/astrobee:test-ubuntu18.04
build-focal:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Checkout submodule
run: git submodule update --init --depth 1 description/media
- name: Build code for Ubuntu 20
run: docker build . -f ./scripts/docker/astrobee.Dockerfile
--build-arg UBUNTU_VERSION=20.04
--build-arg ROS_VERSION=noetic
--build-arg PYTHON=3
--build-arg REMOTE=ghcr.io/nasa
-t astrobee/astrobee:latest-ubuntu20.04
- name: Test code
run: docker build . -f ./scripts/docker/test_astrobee.Dockerfile
--build-arg UBUNTU_VERSION=20.04
-t astrobee/astrobee:test-ubuntu20.04