1
0
Fork 0
mirror of https://github.com/cosmo-sims/MUSIC.git synced 2024-09-19 17:03:46 +02:00

Initial Bitbucket Pipelines configuration

This commit is contained in:
Oliver Hahn 2021-12-01 21:00:20 +00:00
parent fdb6e73fc3
commit 9208482af5

33
bitbucket-pipelines.yml Normal file
View file

@ -0,0 +1,33 @@
# Template C++ Application
# This template allows you to validate your C++ application.
# The workflow allows running tests and code linting on the default branch.
image: debian:latest
pipelines:
default:
- parallel:
- step:
script:
# Print the Linux version.
- uname -a
# Print the gcc version.
- apt-get update -qq
- apt-get install gcc g++ gfortran -qq -y
- gcc --version
# Install a CMake 3.0.2 version.
- apt-get install git cmake pkg-config cmake-data -y --force-yes
# Print the CMake version.
- cmake --version
# Install the necessary libraries
- apt-get install libfftw3-dev -y
- apt-get install libgsl-dev -y
- apt-get install libhdf5-serial-dev -y
- mkdir build
- cd build
# Call the CMake.
- cmake ..
# Build the project.
- make