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-25 05:43:14 +00:00
|
|
|
"builddeps": ["build-essential", "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 06:03:41 +00:00
|
|
|
"../cmake-3.14.0/bin/ctest -VV -j4 --timeout 10000"
|
2019-03-25 05:39:41 +00:00
|
|
|
]
|
|
|
|
},
|
2019-03-25 06:15:03 +00:00
|
|
|
"xenial-armhf": {
|
|
|
|
"buildenv": "xenial-armhf",
|
2019-03-25 05:43:14 +00:00
|
|
|
"builddeps": ["build-essential", "wget"],
|
2019-03-25 05:39:41 +00:00
|
|
|
"buildcmd": [
|
|
|
|
"uname -a",
|
|
|
|
"cd",
|
2019-03-25 05:45:35 +00:00
|
|
|
"wget --no-check-certificate https://github.com/Kitware/CMake/releases/download/v3.14.0/cmake-3.14.0.tar.gz",
|
2019-03-25 05:43:14 +00:00
|
|
|
"tar xfz cmake-3.14.0.tar.gz",
|
|
|
|
"cd cmake-3.14.0",
|
|
|
|
"./bootstrap",
|
|
|
|
"make -j8",
|
|
|
|
"cd",
|
2019-03-25 05:39:41 +00:00
|
|
|
"mkdir build",
|
|
|
|
"cd build",
|
2019-03-25 05:43:14 +00:00
|
|
|
"../cmake-3.14.0/bin/cmake /project/repo/checkout",
|
2019-03-25 05:39:41 +00:00
|
|
|
"make -j8",
|
2019-03-25 06:03:41 +00:00
|
|
|
"../cmake-3.14.0/bin/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-25 05:43:14 +00:00
|
|
|
"builddeps": ["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-25 06:03:41 +00:00
|
|
|
"../cmake-3.14.0/bin/ctest -VV -j8"
|
2019-03-23 22:18:27 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|