mirror of
https://github.com/nlohmann/json.git
synced 2024-12-25 22:47:51 +08:00
83 lines
2.2 KiB
JSON
83 lines
2.2 KiB
JSON
{
|
|
"targets": {
|
|
"raspbian-jessie": {
|
|
"buildenv": "raspbian-jessie",
|
|
"builddeps": ["build-essential", "wget"],
|
|
"buildcmd": [
|
|
"uname -a",
|
|
"cat /etc/os-release",
|
|
"g++ --version",
|
|
"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",
|
|
"lsb_release -a",
|
|
"g++ --version",
|
|
"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",
|
|
"cat /etc/fedora-release",
|
|
"g++ --version",
|
|
"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",
|
|
"rpm -q centos-release",
|
|
"g++ --version",
|
|
"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"
|
|
]
|
|
}
|
|
}
|
|
}
|