2019-03-23 22:18:27 +00:00
|
|
|
{
|
|
|
|
"targets": {
|
2019-03-23 22:27:39 +00:00
|
|
|
"raspbian-jessie": {
|
2019-03-23 23:11:20 +00:00
|
|
|
"buildenv": "raspbian-jessie",
|
2019-03-23 23:36:05 +00:00
|
|
|
"builddeps": ["build-essential", "cmake", "wget"],
|
2019-03-23 22:18:27 +00:00
|
|
|
"buildcmd": [
|
2019-03-23 23:02:41 +00:00
|
|
|
"uname -a",
|
2019-03-24 08:02:06 +00:00
|
|
|
"cd",
|
2019-03-23 23:36:05 +00:00
|
|
|
"wget https://github.com/Kitware/CMake/releases/download/v3.14.0/cmake-3.14.0.tar.gz",
|
|
|
|
"tar xfz cmake-3.14.0.tar.gz",
|
2019-03-23 23:36:46 +00:00
|
|
|
"cd cmake-3.14.0",
|
2019-03-23 23:43:01 +00:00
|
|
|
"./bootstrap",
|
2019-03-23 23:36:05 +00:00
|
|
|
"make -j8",
|
2019-03-24 08:02:06 +00:00
|
|
|
"cd",
|
2019-03-23 22:18:27 +00:00
|
|
|
"mkdir build",
|
|
|
|
"cd build",
|
2019-03-24 08:02:06 +00:00
|
|
|
"../cmake-3.14.0/bin/cmake /project/repo/checkout",
|
2019-03-23 22:42:29 +00:00
|
|
|
"make -j8",
|
2019-03-25 05:39:41 +00:00
|
|
|
"ctest -VV -j4 --timeout 10000"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"jessie-i386": {
|
|
|
|
"buildenv": "jessie-i386",
|
|
|
|
"builddeps": ["cmake", "build-essential"],
|
|
|
|
"buildcmd": [
|
|
|
|
"uname -a",
|
|
|
|
"cd",
|
|
|
|
"mkdir build",
|
|
|
|
"cd build",
|
|
|
|
"cmake /project/repo/checkout",
|
|
|
|
"make -j8",
|
|
|
|
"ctest -VV -j8"
|
2019-03-23 22:42:29 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"fedora24-x86_64": {
|
2019-03-23 23:12:36 +00:00
|
|
|
"buildenv": "fedora24-x86_64",
|
2019-03-24 05:51:10 +00:00
|
|
|
"builddeps": ["cmake", "make", "gcc gcc-c++"],
|
2019-03-23 22:42:29 +00:00
|
|
|
"buildcmd": [
|
2019-03-23 23:02:41 +00:00
|
|
|
"uname -a",
|
2019-03-24 08:02:46 +00:00
|
|
|
"cd",
|
2019-03-23 22:42:29 +00:00
|
|
|
"mkdir build",
|
|
|
|
"cd build",
|
2019-03-24 08:02:06 +00:00
|
|
|
"cmake /project/repo/checkout",
|
2019-03-23 22:42:29 +00:00
|
|
|
"make -j8",
|
2019-03-23 23:02:41 +00:00
|
|
|
"ctest -VV -j8"
|
2019-03-23 22:42:29 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"centos7-x86_64": {
|
2019-03-23 23:11:20 +00:00
|
|
|
"buildenv": "centos7-x86_64",
|
2019-03-24 07:36:01 +00:00
|
|
|
"builddeps": ["cmake", "make", "wget", "gcc-c++"],
|
2019-03-23 22:42:29 +00:00
|
|
|
"buildcmd": [
|
2019-03-23 23:02:41 +00:00
|
|
|
"uname -a",
|
2019-03-24 07:53:30 +00:00
|
|
|
"cd",
|
2019-03-24 05:51:10 +00:00
|
|
|
"wget https://github.com/Kitware/CMake/releases/download/v3.14.0/cmake-3.14.0.tar.gz",
|
|
|
|
"tar xfz cmake-3.14.0.tar.gz",
|
|
|
|
"cd cmake-3.14.0",
|
|
|
|
"./bootstrap",
|
|
|
|
"make -j8",
|
2019-03-24 07:53:30 +00:00
|
|
|
"cd",
|
2019-03-23 22:42:29 +00:00
|
|
|
"mkdir build",
|
|
|
|
"cd build",
|
2019-03-24 07:53:30 +00:00
|
|
|
"../cmake-3.14.0/bin/cmake /project/repo/checkout",
|
2019-03-23 22:42:29 +00:00
|
|
|
"make -j8",
|
2019-03-23 23:02:41 +00:00
|
|
|
"ctest -VV -j8"
|
2019-03-23 22:18:27 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|