2021-05-09 19:32:50 +08:00
|
|
|
kind: pipeline
|
|
|
|
name: test-on-arm
|
2021-05-08 19:33:30 +08:00
|
|
|
|
2021-05-09 19:32:50 +08:00
|
|
|
platform:
|
|
|
|
arch: arm
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: gcc
|
|
|
|
commands:
|
2021-05-09 19:41:40 +08:00
|
|
|
- git clone https://github.com/Kitware/CMake.git
|
|
|
|
- cd CMake
|
2021-05-09 19:32:50 +08:00
|
|
|
- ./configure
|
|
|
|
- make cmake ctest -j10
|
|
|
|
- cd ..
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2021-05-09 19:41:40 +08:00
|
|
|
- ../CMake/bin/cmake .. -DJSON_FastTests=ON
|
2021-05-09 19:32:50 +08:00
|
|
|
- make -j10
|
|
|
|
- cd test
|
2021-05-09 19:41:40 +08:00
|
|
|
- ../../CMake/bin/ctest -j10
|
2021-05-09 19:32:50 +08:00
|
|
|
|
|
|
|
---
|
|
|
|
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
|