amun-code/bitbucket-pipelines.yml
Grzegorz Kowal 6b52998fef Use debian image in the bitbucket pipeline.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2020-04-26 11:07:11 -03:00

21 lines
573 B
YAML

image: debian
pipelines:
default:
- step:
name: Build
script:
- apt-get -q update
- apt-get -q -y install gawk make gfortran libhdf5-dev libopenmpi-dev
- 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
- make clean
- make MPI=N NDIMS=3
- make clean
- make MPI=Y NDIMS=2
- make clean
- make MPI=Y NDIMS=3