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