74 lines
2 KiB
JSON
74 lines
2 KiB
JSON
{
|
|
"targets": {
|
|
"raspbian-jessie": {
|
|
"buildenv": "raspbian-jessie",
|
|
"builddeps": ["build-essential", "wget"],
|
|
"buildcmd": [
|
|
"uname -a",
|
|
"cd",
|
|
"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",
|
|
"mkdir build",
|
|
"cd build",
|
|
"../cmake-3.14.0/bin/cmake /project/repo/checkout",
|
|
"make -j8",
|
|
"../cmake-3.14.0/bin/ctest -VV -j4 --timeout 10000"
|
|
]
|
|
},
|
|
"xenial-armhf": {
|
|
"buildenv": "xenial-armhf",
|
|
"builddeps": ["build-essential", "wget"],
|
|
"buildcmd": [
|
|
"uname -a",
|
|
"cd",
|
|
"wget --no-check-certificate 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",
|
|
"mkdir build",
|
|
"cd build",
|
|
"../cmake-3.14.0/bin/cmake /project/repo/checkout",
|
|
"make -j8",
|
|
"../cmake-3.14.0/bin/ctest -VV -j4 --timeout 10000"
|
|
]
|
|
},
|
|
"fedora24-x86_64": {
|
|
"buildenv": "fedora24-x86_64",
|
|
"builddeps": ["cmake", "make", "gcc gcc-c++"],
|
|
"buildcmd": [
|
|
"uname -a",
|
|
"cd",
|
|
"mkdir build",
|
|
"cd build",
|
|
"cmake /project/repo/checkout",
|
|
"make -j8",
|
|
"ctest -VV -j8"
|
|
]
|
|
},
|
|
"centos7-x86_64": {
|
|
"buildenv": "centos7-x86_64",
|
|
"builddeps": ["make", "wget", "gcc-c++"],
|
|
"buildcmd": [
|
|
"uname -a",
|
|
"cd",
|
|
"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",
|
|
"mkdir build",
|
|
"cd build",
|
|
"../cmake-3.14.0/bin/cmake /project/repo/checkout",
|
|
"make -j8",
|
|
"../cmake-3.14.0/bin/ctest -VV -j8"
|
|
]
|
|
}
|
|
}
|
|
}
|