Browse Source

Add a cmake build as well

tags/v0.3.7
Isuru Fernando 6 years ago
parent
commit
dadafcdcd8
1 changed files with 44 additions and 0 deletions
  1. +44
    -0
      .drone.yml

+ 44
- 0
.drone.yml View File

@@ -41,3 +41,47 @@ steps:
- make -C test $COMMON_FLAGS
- make -C ctest $COMMON_FLAGS
- make -C utest $COMMON_FLAGS

---
kind: pipeline
name: arm64_gcc_cmake

platform:
os: linux
arch: arm64

steps:
- name: Build and Test
image: ubuntu:18.04
environment:
CC: gcc
CMAKE_FLAGS: '-DDYNAMIC_ARCH=1 -DTARGET=ARMV8 -DNUM_THREADS=32'
commands:
- apt-get update -y
- apt-get install -y make $CC gfortran perl cmake
- mkdir build && cd build
- cmake $CMAKE_FLAGS ..
- cmake --build .
- ctest

---
kind: pipeline
name: arm64_clang_cmake

platform:
os: linux
arch: arm64

steps:
- name: Build and Test
image: ubuntu:18.04
environment:
CC: clang
CMAKE_FLAGS: '-DDYNAMIC_ARCH=1 -DTARGET=ARMV8 -DNUM_THREADS=32'
commands:
- apt-get update -y
- apt-get install -y make $CC gfortran perl cmake
- mkdir build && cd build
- cmake $CMAKE_FLAGS ..
- cmake --build .
- ctest

Loading…
Cancel
Save