Commit 0d94736e authored by Hanspeter Portner's avatar Hanspeter Portner

fix CI recipe for arm-linux-gnueabihf build target.

parent de3879ef
Pipeline #19985127 failed with stages
in 5 minutes and 2 seconds
......@@ -6,7 +6,7 @@ stages:
.variables_template: &variables_definition
variables:
BASE_NAME: "sherlock.lv2"
PKG_CONFIG_PATH: "/opt/lv2/lib/pkgconfig:/opt/${CI_BUILD_NAME}/lib/pkgconfig"
PKG_CONFIG_PATH: "/opt/lv2/lib/pkgconfig:/opt/${CI_BUILD_NAME}/lib/pkgconfig:/usr/lib/${CI_BUILD_NAME}/pkgconfig"
TOOLCHAIN_FILE: "${CI_PROJECT_DIR}/meson/${CI_BUILD_NAME}"
.common_template: &common_definition
......
#!/bin/bash
CI_PROJECT_DIR=$(pwd)
CI_BUILD_NAME=$1
CI_BUILD_DIR="build-${CI_BUILD_NAME}"
PKG_CONFIG_PATH="/opt/lv2/lib/pkgconfig:/opt/${CI_BUILD_NAME}/lib/pkgconfig:/usr/lib/${CI_BUILD_NAME}/pkgconfig"
TOOLCHAIN_FILE="${CI_PROJECT_DIR}/meson/${CI_BUILD_NAME}"
rm -rf ${CI_BUILD_DIR}
PKG_CONFIG_PATH=${PKG_CONFIG_PATH} meson \
--prefix="/" \
--libdir="lib" \
--cross-file ${TOOLCHAIN_FILE} ${CI_BUILD_DIR}
ninja -C ${CI_BUILD_DIR}
ninja -C ${CI_BUILD_DIR} install
#!/usr/bin/bash
TARGET=$1
docker run --rm -it -v $(pwd):/workdir/sherlock.lv2 ventosus/${TARGET}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment