aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2020-10-05 22:55:33 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2020-10-05 22:55:33 +0200
commit355eba23925346ee43d93a5a733a378f2090956d (patch)
tree2c5da838ea6397580b5e1bb3142a7ff7fd92656a
parent48fbb3c3d5a4a09c29a805fa2d50680a3879b622 (diff)
downloadmonitors.lv2-355eba23925346ee43d93a5a733a378f2090956d.tar.xz
gitlab-ci: update recipe to include generic one.
-rw-r--r--.gitlab-ci.yml60
-rw-r--r--VERSION2
2 files changed, 3 insertions, 59 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 96a2e6f..8fa8402 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,58 +1,2 @@
-stages:
- - build
- - test
- - deploy
-
-.variables_template: &variables_definition
- variables:
- BASE_NAME: "monitors.lv2"
- PKG_CONFIG_PATH: "/opt/lv2/lib/pkgconfig:/opt/${CI_BUILD_NAME}/lib/pkgconfig:/usr/lib/${CI_BUILD_NAME}/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
- - ninja -C build install
- - mkdir -p "${BASE_NAME}-$(cat VERSION)/${CI_BUILD_NAME}/${BASE_NAME}"
- - cp -r "/opt/${CI_BUILD_NAME}/lib/lv2/${BASE_NAME}/" "${BASE_NAME}-$(cat VERSION)/${CI_BUILD_NAME}/"
-
-.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 10cdb5e..fb129ed 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.277
+0.1.279