Install gfortran and add a clang job
authorIsuru Fernando <isuruf@gmail.com>
Sun, 12 May 2019 18:47:49 +0000 (13:47 -0500)
committerIsuru Fernando <isuruf@gmail.com>
Sun, 12 May 2019 19:10:09 +0000 (14:10 -0500)
.drone.yml

index 765c2b0..3b1515c 100644 (file)
@@ -1,6 +1,6 @@
 ---
 kind: pipeline
-name: arm64_gcc
+name: arm64_gcc_make
 
 platform:
   os: linux
@@ -13,7 +13,28 @@ steps:
     CC: gcc
     COMMON_FLAGS: 'DYNAMIC_ARCH=1 TARGET=ARMV8 NUM_THREADS=32'
   commands:
-    - yum -y install make gcc perl
+    - yum -y install make gcc gfortran perl
+    - make QUIET_MAKE=1 $COMMON_FLAGS
+    - make -C test $COMMON_FLAGS
+    - make -C ctest $COMMON_FLAGS
+    - make -C utest $COMMON_FLAGS"
+
+---
+kind: pipeline
+name: arm64_clang_make
+
+platform:
+  os: linux
+  arch: arm64
+
+steps:
+- name: Build and Test
+  image: centos:7
+  environment:
+    CC: clang
+    COMMON_FLAGS: 'DYNAMIC_ARCH=1 TARGET=ARMV8 NUM_THREADS=32'
+  commands:
+    - yum -y install make gcc gfortran perl clang
     - make QUIET_MAKE=1 $COMMON_FLAGS
     - make -C test $COMMON_FLAGS
     - make -C ctest $COMMON_FLAGS