aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2020-10-05 22:56:12 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2020-10-05 22:56:12 +0200
commitb91a5c00e7b752a7da735368e685d6f9c40151b7 (patch)
treec40ea247fe431d23ab52ab0811b29c10439d62e7
parent7496fa4579fbdeaf41e89ac9378fdf34134116ca (diff)
downloadrouter.lv2-b91a5c00e7b752a7da735368e685d6f9c40151b7.tar.xz
gitlab-ci: update recipe to include generic one.
-rw-r--r--.gitlab-ci.yml58
-rw-r--r--VERSION2
2 files changed, 3 insertions, 57 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bb1cd12..8fa8402 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,56 +1,2 @@
-stages:
- - build
- - test
- - deploy
-
-.variables_template: &variables_definition
- variables:
- BASE_NAME: "router.lv2"
- PKG_CONFIG_PATH: "/opt/lv2/lib/pkgconfig:/opt/${CI_BUILD_NAME}/lib/pkgconfig"
-
-.common_template: &common_definition
- <<: *variables_definition
- stage: build
- artifacts:
- name: "${BASE_NAME}-$(cat VERSION)-${CI_BUILD_NAME}"
- paths:
- - "${BASE_NAME}-$(cat VERSION)/"
-
-.build_template: &build_definition
- <<: *common_definition
- script:
- - meson --prefix="/opt/${CI_BUILD_NAME}" --libdir="lib" --cross-file "${CI_BUILD_NAME}" build
- - sed -i -e '/framework/s/-Wl,-O1//g' -e '/framework/s/-Wl,--start-group//g' -e '/framework/s/-Wl,--end-group//g' -e '/framework/s/-Wl,-soname,.*dylib//g' build/build.ninja
- - ninja -C build
- - DESTDIR="${CI_PROJECT_DIR}/${BASE_NAME}-$(cat VERSION)/${CI_BUILD_NAME}" ninja -C build install
-
-.universal_linux_template: &universal_linux_definition
- image: ventosus/universal-linux-gnu
- <<: *build_definition
-
-.arm_linux_template: &arm_linux_definition
- image: ventosus/arm-linux-gnueabihf
- <<: *build_definition
-
-# building in docker
-x86_64-linux-gnu:
- <<: *universal_linux_definition
-
-i686-linux-gnu:
- <<: *universal_linux_definition
-
-arm-linux-gnueabihf:
- <<: *arm_linux_definition
-
-aarch64-linux-gnu:
- <<: *arm_linux_definition
-
-pack:
- <<: *variables_definition
- stage: deploy
- script:
- - echo 'packing up...'
- artifacts:
- name: "${BASE_NAME}-$(cat VERSION)"
- paths:
- - "${BASE_NAME}-$(cat VERSION)/"
+include:
+ - local: 'gitlab-ci/generic.yml'
diff --git a/VERSION b/VERSION
index 5950146..2317587 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.103
+0.1.105