Skip to content
Permalink
Browse files

Add a cmake build as well

  • Loading branch information...
isuruf committed May 12, 2019
1 parent d40c109 commit dadafcdcd84ffa8f5545a14aa3b2c0b39398195c
Showing with 44 additions and 0 deletions.
  1. +44 −0 .drone.yml
@@ -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

0 comments on commit dadafcd

Please sign in to comment.
You can’t perform that action at this time.