Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2130 from isuruf/drone
Drone CI for arm64 native builds
- Loading branch information
Showing
3 changed files
with
143 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
--- | ||
kind: pipeline | ||
name: arm64_gcc_make | ||
|
||
platform: | ||
os: linux | ||
arch: arm64 | ||
|
||
steps: | ||
- name: Build and Test | ||
image: ubuntu:19.04 | ||
environment: | ||
CC: gcc | ||
COMMON_FLAGS: 'DYNAMIC_ARCH=1 TARGET=ARMV8 NUM_THREADS=32' | ||
commands: | ||
- echo "MAKE_FLAGS:= $COMMON_FLAGS" | ||
- apt-get update -y | ||
- apt-get install -y make $CC gfortran perl | ||
- $CC --version | ||
- make QUIET_MAKE=1 $COMMON_FLAGS | ||
- make -C test $COMMON_FLAGS | ||
- make -C ctest $COMMON_FLAGS | ||
- make -C utest $COMMON_FLAGS | ||
|
||
--- | ||
kind: pipeline | ||
name: arm32_gcc_make | ||
|
||
platform: | ||
os: linux | ||
arch: arm | ||
|
||
steps: | ||
- name: Build and Test | ||
image: ubuntu:19.04 | ||
environment: | ||
CC: gcc | ||
COMMON_FLAGS: 'DYNAMIC_ARCH=1 TARGET=ARMV6 NUM_THREADS=32' | ||
commands: | ||
- echo "MAKE_FLAGS:= $COMMON_FLAGS" | ||
- apt-get update -y | ||
- apt-get install -y make $CC gfortran perl | ||
- $CC --version | ||
- 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: ubuntu:18.04 | ||
environment: | ||
CC: clang | ||
COMMON_FLAGS: 'DYNAMIC_ARCH=1 TARGET=ARMV8 NUM_THREADS=32' | ||
commands: | ||
- echo "MAKE_FLAGS:= $COMMON_FLAGS" | ||
- apt-get update -y | ||
- apt-get install -y make $CC gfortran perl | ||
- $CC --version | ||
- make QUIET_MAKE=1 $COMMON_FLAGS | ||
- make -C test $COMMON_FLAGS | ||
- make -C ctest $COMMON_FLAGS | ||
- make -C utest $COMMON_FLAGS | ||
|
||
--- | ||
kind: pipeline | ||
name: arm32_clang_cmake | ||
|
||
platform: | ||
os: linux | ||
arch: arm | ||
|
||
steps: | ||
- name: Build and Test | ||
image: ubuntu:18.04 | ||
environment: | ||
CC: clang | ||
CMAKE_FLAGS: '-DDYNAMIC_ARCH=1 -DTARGET=ARMV6 -DNUM_THREADS=32 -DNOFORTRAN=ON -DBUILD_WITHOUT_LAPACK=ON' | ||
commands: | ||
- echo "CMAKE_FLAGS:= $CMAKE_FLAGS" | ||
- apt-get update -y | ||
- apt-get install -y make $CC g++ perl cmake | ||
- $CC --version | ||
- mkdir build && cd build | ||
- cmake $CMAKE_FLAGS .. | ||
- make -j | ||
- ctest | ||
|
||
--- | ||
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 -DNOFORTRAN=ON -DBUILD_WITHOUT_LAPACK=ON' | ||
commands: | ||
- echo "CMAKE_FLAGS:= $CMAKE_FLAGS" | ||
- apt-get update -y | ||
- apt-get install -y make $CC g++ perl cmake | ||
- $CC --version | ||
- mkdir build && cd build | ||
- cmake $CMAKE_FLAGS .. | ||
- make -j | ||
- 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 -DNOFORTRAN=ON -DBUILD_WITHOUT_LAPACK=ON' | ||
commands: | ||
- echo "CMAKE_FLAGS:= $CMAKE_FLAGS" | ||
- apt-get update -y | ||
- apt-get install -y make $CC g++ perl cmake | ||
- $CC --version | ||
- mkdir build && cd build | ||
- cmake $CMAKE_FLAGS .. | ||
- make -j | ||
- ctest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters