Switch to ubuntu and parallel jobs
[platform/upstream/openblas.git] / .drone.yml
1 ---
2 kind: pipeline
3 name: arm64_gcc_make
4
5 platform:
6   os: linux
7   arch: arm64
8
9 steps:
10 - name: Build and Test
11   image: ubuntu:18.04
12   environment:
13     CC: gcc
14     COMMON_FLAGS: 'DYNAMIC_ARCH=1 TARGET=ARMV8 NUM_THREADS=32 -j'
15   commands:
16     - apt install make gcc gfortran perl clang
17     - make QUIET_MAKE=1 $COMMON_FLAGS
18     - make -C test $COMMON_FLAGS
19     - make -C ctest $COMMON_FLAGS
20     - make -C utest $COMMON_FLAGS"
21
22 ---
23 kind: pipeline
24 name: arm64_clang_make
25
26 platform:
27   os: linux
28   arch: arm64
29
30 steps:
31 - name: Build and Test
32   image: ubuntu:18.04
33   environment:
34     CC: clang
35     COMMON_FLAGS: 'DYNAMIC_ARCH=1 TARGET=ARMV8 NUM_THREADS=32 -j'
36   commands:
37     - apt install make gcc gfortran perl clang
38     - make QUIET_MAKE=1 $COMMON_FLAGS
39     - make -C test $COMMON_FLAGS
40     - make -C ctest $COMMON_FLAGS
41     - make -C utest $COMMON_FLAGS"