Switch to ubuntu and parallel jobs
authorIsuru Fernando <isuruf@gmail.com>
Sun, 12 May 2019 18:53:58 +0000 (13:53 -0500)
committerIsuru Fernando <isuruf@gmail.com>
Sun, 12 May 2019 19:10:09 +0000 (14:10 -0500)
.drone.yml

index 37ca747..f048cad 100644 (file)
@@ -8,12 +8,12 @@ platform:
 
 steps:
 - name: Build and Test
-  image: centos:7
+  image: ubuntu:18.04
   environment:
     CC: gcc
-    COMMON_FLAGS: 'DYNAMIC_ARCH=1 TARGET=ARMV8 NUM_THREADS=32'
+    COMMON_FLAGS: 'DYNAMIC_ARCH=1 TARGET=ARMV8 NUM_THREADS=32 -j'
   commands:
-    - yum -y install make gcc gcc-gfortran perl
+    - apt install make gcc gfortran perl clang
     - make QUIET_MAKE=1 $COMMON_FLAGS
     - make -C test $COMMON_FLAGS
     - make -C ctest $COMMON_FLAGS
@@ -29,12 +29,12 @@ platform:
 
 steps:
 - name: Build and Test
-  image: centos:7
+  image: ubuntu:18.04
   environment:
     CC: clang
-    COMMON_FLAGS: 'DYNAMIC_ARCH=1 TARGET=ARMV8 NUM_THREADS=32'
+    COMMON_FLAGS: 'DYNAMIC_ARCH=1 TARGET=ARMV8 NUM_THREADS=32 -j'
   commands:
-    - yum -y install make gcc gcc-gfortran perl clang
+    - apt install make gcc gfortran perl clang
     - make QUIET_MAKE=1 $COMMON_FLAGS
     - make -C test $COMMON_FLAGS
     - make -C ctest $COMMON_FLAGS