amun-code/.drone.yml
Grzegorz Kowal dac7a1fcfe CI: Never pull image.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-09-30 18:44:10 -03:00

44 lines
832 B
YAML

---
kind: pipeline
type: docker
name: amun-code
platform:
os: linux
arch: arm64
trigger:
branch:
- master
- reconnection
event:
- push
steps:
- name: build with make
pull: never
image: ubuntu/hpc:latest
commands:
- cd ./build
- cp -al make.default make.config
- cp -al ./hosts/default ./hosts/$HOSTNAME
- export HDF5DIR=/usr/lib/x86_64-linux-gnu/hdf5/serial
- make MPI=N NDIMS=2 -j 4
- make clean
- make MPI=N NDIMS=3 -j 4
- make clean
- make MPI=Y NDIMS=2 -j 4
- make clean
- make MPI=Y NDIMS=3 -j 4
- name: build with cmake
pull: never
image: ubuntu/hpc:latest
commands:
- mkdir ./build-cmake/
- cd ./build-cmake/
- cmake -LA ..
- make -j 4
- cmake -LA -DENABLE_3D=Y ..
- make -j 4