Skip to content

Commit

Permalink
👷 arm and arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed May 9, 2021
1 parent 42f2512 commit e6e7309
Showing 1 changed file with 31 additions and 21 deletions.
52 changes: 31 additions & 21 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,32 @@
kind: pipeline
name: test-on-arm64
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"
]
}
]
};

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
[
Pipeline("arm"),
Pipeline("arm64")
]

0 comments on commit e6e7309

Please sign in to comment.