From 63dba55673b071b2e4206acf9434c2935093cf39 Mon Sep 17 00:00:00 2001 From: wall_e Date: Wed, 20 Nov 2024 14:54:34 +0100 Subject: [PATCH] Fix CI Build --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d4c97d4..af296f4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,6 +37,13 @@ formatting: build_module: stage: build script: + - export SINQMOTOR_VERSION="$(grep 'sinqMotor_VERSION=' Makefile | cut -d= -f2)" + - git clone --depth 1 --branch "${SINQMOTOR_VERSION}" https://gitlab-ci-token:${CI_JOB_TOKEN}@git.psi.ch/sinq-epics-modules/sinqmotor.git + - pushd sinqmotor + - sed -i 's/ARCH_FILTER=.*/ARCH_FILTER=linux%/' Makefile + - echo "LIBVERSION=${SINQMOTOR_VERSION}" >> Makefile + - make install + - popd - sed -i 's/ARCH_FILTER=.*/ARCH_FILTER=linux%/' Makefile - echo "LIBVERSION=${CI_COMMIT_TAG:-0.0.1}" >> Makefile - make install