25 lines
868 B
YAML
25 lines
868 B
YAML
# This is a sample build configuration for Other.
|
|
# Check our guides at https://confluence.atlassian.com/x/5Q4SMw for more examples.
|
|
# Only use spaces to indent your .yml configuration.
|
|
# -----
|
|
# You can specify a custom docker image from Docker Hub as your build environment.
|
|
image: atlassian/default-image:2
|
|
|
|
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 |