From cad3f3d4ff2e04b921f6f47a835a00a21aec1f94 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Tue, 10 Jul 2018 12:42:07 +0300 Subject: Fixing of BitBucket pipelines build --- bitbucket-pipelines.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bitbucket-pipelines.yml') 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 -- cgit v1.2.3 From b1b27f8af15196a1f14aefdc961e3aa664c8b7b0 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Tue, 10 Jul 2018 12:45:43 +0300 Subject: Fixing of BitBucket pipelines build, second attempt --- bitbucket-pipelines.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbucket-pipelines.yml') diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 44e85d8..5c5bb4c 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -9,6 +9,7 @@ pipelines: default: - step: script: # Modify the commands below to build your repository. + - apt install software-properties-common - add-apt-repository --yes ppa:george-edison55/cmake-3.x - apt-get update - apt-get install -y libsdl2-dev ninja-build cmake -- cgit v1.2.3