Add a cmake build as well

This commit is contained in:
Isuru Fernando 2019-05-12 14:06:04 -05:00
parent d40c109eb0
commit dadafcdcd8
1 changed files with 44 additions and 0 deletions

View File

@ -41,3 +41,47 @@ steps:
- make -C test $COMMON_FLAGS - make -C test $COMMON_FLAGS
- make -C ctest $COMMON_FLAGS - make -C ctest $COMMON_FLAGS
- make -C utest $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