aboutsummaryrefslogtreecommitdiff
path: root/bitbucket-pipelines.yml
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2018-07-10 12:42:07 +0300
committerWohlstand <admin@wohlnet.ru>2018-07-10 12:42:07 +0300
commitcad3f3d4ff2e04b921f6f47a835a00a21aec1f94 (patch)
treeb9ca5973fd99f5d6cb447872e263d4636d9e88cd /bitbucket-pipelines.yml
parent4ac22738e50e20cf00e5b2d0efead4ba3aadb04e (diff)
downloadlibADLMIDI-cad3f3d4ff2e04b921f6f47a835a00a21aec1f94.tar.gz
libADLMIDI-cad3f3d4ff2e04b921f6f47a835a00a21aec1f94.tar.bz2
libADLMIDI-cad3f3d4ff2e04b921f6f47a835a00a21aec1f94.zip
Fixing of BitBucket pipelines build
Diffstat (limited to 'bitbucket-pipelines.yml')
-rw-r--r--bitbucket-pipelines.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml
index 972197d..44e85d8 100644
--- a/bitbucket-pipelines.yml
+++ b/bitbucket-pipelines.yml
@@ -9,11 +9,11 @@ pipelines:
default:
- step:
script: # Modify the commands below to build your repository.
+ - add-apt-repository --yes ppa:george-edison55/cmake-3.x
- apt-get update
- - apt-get install -y cmake libsdl2-dev
+ - apt-get install -y libsdl2-dev ninja-build cmake
- mkdir build
- cd build
- - cmake -DCMAKE_INSTALL_PREFIX=output -DCMAKE_BUILD_TYPE=Release -DlibADLMIDI_STATIC=YES -DWITH_MIDIPLAY=ON ..
- - make -j 4
- - make install
+ - cmake -G "Ninja" -DCMAKE_INSTALL_PREFIX=output -DCMAKE_BUILD_TYPE=Release -DlibADLMIDI_STATIC=YES -DlibADLMIDI_SHARED=YES -DWITH_MIDIPLAY=ON ..
+ - cmake --build . --config Release --target install -- -j 4