[A] Added build for arm with drone ci
This commit is contained in:
parent
c347bc8230
commit
cf7d6e0567
69
.drone.yml
Normal file
69
.drone.yml
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: test-on-amd64
|
||||||
|
|
||||||
|
platform:
|
||||||
|
arch: amd64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: test
|
||||||
|
image: alpine
|
||||||
|
commands:
|
||||||
|
- apk add gcc g++ cmake make binutils-gold
|
||||||
|
- CMAKE_C_FLAGS="-Werror"
|
||||||
|
- CMAKE_CXX_FLAGS="-Werror"
|
||||||
|
- ls
|
||||||
|
- uname -a
|
||||||
|
- mkdir -p build
|
||||||
|
- cd build
|
||||||
|
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_STANDARD=99 -DCMAKE_CXX_STANDARD=11 -DCMAKE_C_FLAGS="${CMAKE_C_FLAGS}" -DCMAKE_CXX_FLAGS="${CMAKE_CXX_FLAGS}"
|
||||||
|
- cmake --build . --target all
|
||||||
|
- ls
|
||||||
|
- ctest -VV
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: test-on-arm
|
||||||
|
|
||||||
|
platform:
|
||||||
|
arch: arm
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: test
|
||||||
|
image: alpine
|
||||||
|
commands:
|
||||||
|
- apk add gcc g++ cmake make binutils-gold
|
||||||
|
- CMAKE_C_FLAGS="-Werror"
|
||||||
|
- CMAKE_CXX_FLAGS="-Werror"
|
||||||
|
- ls
|
||||||
|
- uname -a
|
||||||
|
- mkdir -p build
|
||||||
|
- cd build
|
||||||
|
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_STANDARD=99 -DCMAKE_CXX_STANDARD=11 -DCMAKE_C_FLAGS="${CMAKE_C_FLAGS}" -DCMAKE_CXX_FLAGS="${CMAKE_CXX_FLAGS}"
|
||||||
|
- cmake --build . --target all
|
||||||
|
- ls
|
||||||
|
- ctest -VV
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: test-on-arm64
|
||||||
|
|
||||||
|
platform:
|
||||||
|
arch: arm64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: test
|
||||||
|
image: alpine
|
||||||
|
commands:
|
||||||
|
- apk add gcc g++ cmake make binutils-gold
|
||||||
|
- CMAKE_C_FLAGS="-Werror"
|
||||||
|
- CMAKE_CXX_FLAGS="-Werror"
|
||||||
|
- ls
|
||||||
|
- uname -a
|
||||||
|
- mkdir -p build
|
||||||
|
- cd build
|
||||||
|
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_STANDARD=99 -DCMAKE_CXX_STANDARD=11 -DCMAKE_C_FLAGS="${CMAKE_C_FLAGS}" -DCMAKE_CXX_FLAGS="${CMAKE_CXX_FLAGS}"
|
||||||
|
- cmake --build . --target all
|
||||||
|
- ls
|
||||||
|
- ctest -VV
|
@ -3,6 +3,7 @@
|
|||||||
[![Build Status](https://travis-ci.org/seleznevae/libfort.svg?branch=master)](https://travis-ci.org/seleznevae/libfort)
|
[![Build Status](https://travis-ci.org/seleznevae/libfort.svg?branch=master)](https://travis-ci.org/seleznevae/libfort)
|
||||||
[![Build Status](https://api.cirrus-ci.com/github/seleznevae/libfort.svg)](https://cirrus-ci.com/github/seleznevae/libfort)
|
[![Build Status](https://api.cirrus-ci.com/github/seleznevae/libfort.svg)](https://cirrus-ci.com/github/seleznevae/libfort)
|
||||||
[![Build status](https://ci.appveyor.com/api/projects/status/ll1qygb56pho95xw/branch/master?svg=true)](https://ci.appveyor.com/project/seleznevae/libfort/branch/master)
|
[![Build status](https://ci.appveyor.com/api/projects/status/ll1qygb56pho95xw/branch/master?svg=true)](https://ci.appveyor.com/project/seleznevae/libfort/branch/master)
|
||||||
|
[![Build Status](https://cloud.drone.io/api/badges/seleznevae/libfort/status.svg?ref=/refs/heads/develop)](https://cloud.drone.io/seleznevae/libfort)
|
||||||
[![Coverage Status](https://coveralls.io/repos/github/seleznevae/libfort/badge.svg?branch=master)](https://coveralls.io/github/seleznevae/libfort?branch=master)
|
[![Coverage Status](https://coveralls.io/repos/github/seleznevae/libfort/badge.svg?branch=master)](https://coveralls.io/github/seleznevae/libfort?branch=master)
|
||||||
[![Try online](https://img.shields.io/badge/try-online-blue.svg)](https://wandbox.org/permlink/qQpqv3ujZ22ABVOz)
|
[![Try online](https://img.shields.io/badge/try-online-blue.svg)](https://wandbox.org/permlink/qQpqv3ujZ22ABVOz)
|
||||||
[![Documentation](https://img.shields.io/badge/docs-doxygen-blue.svg)](http://seleznevae.github.io/libfort)
|
[![Documentation](https://img.shields.io/badge/docs-doxygen-blue.svg)](http://seleznevae.github.io/libfort)
|
||||||
|
10
appveyor.yml
10
appveyor.yml
@ -4,9 +4,10 @@ image: Visual Studio 2017
|
|||||||
|
|
||||||
platform:
|
platform:
|
||||||
- x64
|
- x64
|
||||||
|
|
||||||
configuration:
|
configuration:
|
||||||
- Debug
|
- Debug
|
||||||
|
- Release
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
@ -22,10 +23,7 @@ build:
|
|||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- dir
|
- dir
|
||||||
- ctest -VV -C Debug
|
- ctest -VV -C %CONFIGURATION%
|
||||||
- cd Debug
|
- cd %CONFIGURATION%
|
||||||
- dir
|
- dir
|
||||||
- ctest -VV
|
- ctest -VV
|
||||||
# - '%APPVEYOR_BUILD_FOLDER%\build\Debug\libfort_test_dev.exe'
|
|
||||||
# - '%APPVEYOR_BUILD_FOLDER%\build\Debug\libfort_test.exe'
|
|
||||||
# - '%APPVEYOR_BUILD_FOLDER%\build\Debug\libfort_example.exe'
|
|
||||||
|
Loading…
Reference in New Issue
Block a user