forked from gazebosim/gz-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bitbucket-pipelines.yml
85 lines (84 loc) · 3.26 KB
/
bitbucket-pipelines.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
83
84
85
image: ubuntu:bionic
pipelines:
default:
- step:
script:
# Install dependencies
- apt update
- apt -y install wget lsb-release gnupg
- sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
- sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-prerelease `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-prerelease.list'
- wget http://packages.osrfoundation.org/gazebo.key -O - | apt-key add -
- apt update
- apt install -y
build-essential wget cmake cppcheck git g++-8
qtbase5-dev libtinyxml2-dev libprotoc-dev libprotobuf-dev
qtdeclarative5-dev
qtquickcontrols2-5-dev
qml-module-qtquick2
qml-module-qtquick-controls
qml-module-qtquick-controls2
qml-module-qtquick-dialogs
qml-module-qtquick-layouts
qml-module-qt-labs-folderlistmodel
qml-module-qt-labs-settings
qml-module-qtgraphicaleffects
- update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8 --slave /usr/bin/gcov gcov /usr/bin/gcov-8
- gcc -v
- g++ -v
- gcov -v
# lcov
- git clone https://github.com/linux-test-project/lcov.git
- cd lcov
- make install
- cd ..
# Dependency: Ignition packages
- apt-get -y install
libignition-cmake2-dev
libignition-common3-dev
libignition-math6-dev
libignition-msgs5-dev
libignition-plugin-dev
libignition-tools-dev
libignition-transport8-dev
# libignition-rendering3-dev
# # Ignition msgs (uncomment if a specific branch is needed)
# - apt install -y
# libprotobuf-dev protobuf-compiler libprotoc-dev
# - git clone http://github.com/ignitionrobotics/ign-msgs -b master
# - cd ign-msgs
# - mkdir build
# - cd build
# - cmake ..
# - make -j4 install
# - cd ../..
# # Ignition transport (uncomment if a specific branch is needed)
# - apt install -y
# libzmq3-dev uuid-dev libsqlite3-dev
# - git clone http://github.com/ignitionrobotics/ign-transport -b master
# - cd ign-transport
# - mkdir build
# - cd build
# - cmake ..
# - make -j4 install
# - cd ../..
# Ignition rendering (uncomment if a specific branch is needed)
- apt install -y
libogre-1.9-dev
libogre-2.1-dev
libglew-dev libfreeimage-dev freeglut3-dev libxmu-dev libxi-dev
- git clone http://github.com/ignitionrobotics/ign-rendering -b master
- cd ign-rendering
- mkdir build
- cd build
- cmake ..
- make -j4 install
- cd ../..
# Ignition GUI
- mkdir build
- cd build
- cmake ..
- make -j4 install
- make codecheck
# Tests currently fail, graphics issue?
# - make test