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-24 07:36:05 +08:00
|
|
|
"builddeps": ["build-essential", "cmake", "wget"],
|
2019-03-24 06:18:27 +08:00
|
|
|
"buildcmd": [
|
2019-03-24 07:02:41 +08:00
|
|
|
"uname -a",
|
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 07:36:46 +08:00
|
|
|
"cd ..",
|
2019-03-24 06:18:27 +08:00
|
|
|
"mkdir build",
|
|
|
|
"cd build",
|
2019-03-24 13:51:10 +08:00
|
|
|
"../cmake-3.14.0/bin/cmake ..",
|
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
|
|
|
]
|
|
|
|
},
|
|
|
|
"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 06:42:29 +08:00
|
|
|
"mkdir build",
|
|
|
|
"cd build",
|
|
|
|
"cmake ..",
|
|
|
|
"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-24 15:36:01 +08:00
|
|
|
"builddeps": ["cmake", "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 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",
|
|
|
|
"cd ..",
|
2019-03-24 06:42:29 +08:00
|
|
|
"mkdir build",
|
|
|
|
"cd build",
|
2019-03-24 13:51:10 +08:00
|
|
|
"../cmake-3.14.0/bin/cmake ..",
|
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:18:27 +08:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|