aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-11-06 20:31:23 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-11-06 21:35:47 +0100
commit808469663a85f362b9e405bce41059ab2f389455 (patch)
treeb224819265084728d8d8329cfdfab7f693d213fb /.gitlab-ci.yml
parent5b25d6e14b477353165285e4387b6b755cdf387f (diff)
downloadcanvas_display.lv2-808469663a85f362b9e405bce41059ab2f389455.tar.xz
fix gitlab ci recipe.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 1 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index dedfdba..a824c76 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,12 +19,9 @@ stages:
.build_template: &build_definition
<<: *common_definition
script:
- - sed -i -e 's/cairo\/cairo/cairo/g' canvas.c
- - sed -i -e 's/cairo\/cairo/cairo/g' canvas_ui.c
- - sed -i -e 's/cairo\/cairo/cairo/g' pugl/pugl/pugl_x11.c
- mkdir build
- pushd build
- - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${CI_PROJECT_DIR} -DPLUGIN_DEST="${BASE_NAME}-$(cat ../VERSION)/${CI_BUILD_NAME}/${BASE_NAME}" -DCMAKE_TOOLCHAIN_FILE=${TOOLCHAIN_FILE} ..
+ - cmake -DCAIRO_INCLUDE_DIRS="/opt/${CI_BUILD_NAME}/include" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${CI_PROJECT_DIR} -DPLUGIN_DEST="${BASE_NAME}-$(cat ../VERSION)/${CI_BUILD_NAME}/${BASE_NAME}" -DCMAKE_TOOLCHAIN_FILE=${TOOLCHAIN_FILE} ..
- cmake .. # needed for darwin
- make
- make install