Skip to content

Commit dadafcd

Browse files
committed
Add a cmake build as well
1 parent d40c109 commit dadafcd

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.drone.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,47 @@ steps:
4141
- make -C test $COMMON_FLAGS
4242
- make -C ctest $COMMON_FLAGS
4343
- make -C utest $COMMON_FLAGS
44+
45+
---
46+
kind: pipeline
47+
name: arm64_gcc_cmake
48+
49+
platform:
50+
os: linux
51+
arch: arm64
52+
53+
steps:
54+
- name: Build and Test
55+
image: ubuntu:18.04
56+
environment:
57+
CC: gcc
58+
CMAKE_FLAGS: '-DDYNAMIC_ARCH=1 -DTARGET=ARMV8 -DNUM_THREADS=32'
59+
commands:
60+
- apt-get update -y
61+
- apt-get install -y make $CC gfortran perl cmake
62+
- mkdir build && cd build
63+
- cmake $CMAKE_FLAGS ..
64+
- cmake --build .
65+
- ctest
66+
67+
---
68+
kind: pipeline
69+
name: arm64_clang_cmake
70+
71+
platform:
72+
os: linux
73+
arch: arm64
74+
75+
steps:
76+
- name: Build and Test
77+
image: ubuntu:18.04
78+
environment:
79+
CC: clang
80+
CMAKE_FLAGS: '-DDYNAMIC_ARCH=1 -DTARGET=ARMV8 -DNUM_THREADS=32'
81+
commands:
82+
- apt-get update -y
83+
- apt-get install -y make $CC gfortran perl cmake
84+
- mkdir build && cd build
85+
- cmake $CMAKE_FLAGS ..
86+
- cmake --build .
87+
- ctest

0 commit comments

Comments
 (0)