👷 arm and arm64
This commit is contained in:
parent
e6e7309514
commit
df6fa6c11c
76
.drone.yml
76
.drone.yml
@ -1,32 +1,46 @@
|
||||
local Pipeline(version, arch) = {
|
||||
kind: "pipeline",
|
||||
name: "test-on-"+arch,
|
||||
platform: {
|
||||
arch: arch
|
||||
}
|
||||
steps: [
|
||||
{
|
||||
name: "build",
|
||||
image: "gcc",
|
||||
commands: [
|
||||
"wget https://github.com/Kitware/CMake/releases/download/v3.20.2/cmake-3.20.2.tar.gz",
|
||||
"tar xfz cmake-3.20.2.tar.gz",
|
||||
"cd cmake-3.20.2",
|
||||
"./configure",
|
||||
"make cmake ctest -j10",
|
||||
"cd ..",
|
||||
"mkdir build",
|
||||
"cd build",
|
||||
"../cmake-3.20.2/bin/cmake .. -DJSON_FastTests=ON",
|
||||
"make -j10",
|
||||
"cd test",
|
||||
"../../cmake-3.20.2/bin/ctest -j10"
|
||||
]
|
||||
}
|
||||
]
|
||||
};
|
||||
kind: pipeline
|
||||
name: test-on-arm
|
||||
|
||||
[
|
||||
Pipeline("arm"),
|
||||
Pipeline("arm64")
|
||||
]
|
||||
platform:
|
||||
arch: arm
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: gcc
|
||||
commands:
|
||||
- wget https://github.com/Kitware/CMake/releases/download/v3.20.2/cmake-3.20.2.tar.gz
|
||||
- tar xfz cmake-3.20.2.tar.gz
|
||||
- cd cmake-3.20.2
|
||||
- ./configure
|
||||
- make cmake ctest -j10
|
||||
- cd ..
|
||||
- mkdir build
|
||||
- cd build
|
||||
- ../cmake-3.20.2/bin/cmake .. -DJSON_FastTests=ON
|
||||
- make -j10
|
||||
- cd test
|
||||
- ../../cmake-3.20.2/bin/ctest -j10
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: test-on-arm64
|
||||
|
||||
platform:
|
||||
arch: arm64
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: gcc
|
||||
commands:
|
||||
- wget https://github.com/Kitware/CMake/releases/download/v3.20.2/cmake-3.20.2.tar.gz
|
||||
- tar xfz cmake-3.20.2.tar.gz
|
||||
- cd cmake-3.20.2
|
||||
- ./configure
|
||||
- make cmake ctest -j10
|
||||
- cd ..
|
||||
- mkdir build
|
||||
- cd build
|
||||
- ../cmake-3.20.2/bin/cmake .. -DJSON_FastTests=ON
|
||||
- make -j10
|
||||
- cd test
|
||||
- ../../cmake-3.20.2/bin/ctest -j10
|
||||
|
Loading…
Reference in New Issue
Block a user