Skip to content
Snippets Groups Projects
Commit 1594d811 authored by Andrea Michelotti's avatar Andrea Michelotti
Browse files

readded ubuntu2204

parent db16d1d4
No related branches found
No related tags found
No related merge requests found
Pipeline #104659 failed
......@@ -310,6 +310,41 @@ ubuntu2004_x86_64:
- $BUILD_DISTRIBUTION == "ubuntu2004_x86_64"
- $BUILD_DISTRIBUTION == null
ubuntu2204_x86_64:
stage: build
tags:
- shared
image: baltig.infn.it:4567/chaos-lnf-control/chaos_bundle_compilation:2204
script:
- npm install -g jchaos
- repo sync
- if [ -e CACHE ]; then mv CACHE chaosframework/config;fi
- if [ "$TEST_BRANCH" != "$CI_COMMIT_REF_NAME" ]; then ./chaosframework/tools/chaos_git.sh -c $TEST_BRANCH;fi
- cd chaosframework
- GITHASH=`git log -n 1 --pretty="%h"`
- GITTAG=`git describe --abbrev=0`
- echo -e "GITHASH:$GITHASH\nGITTAG:$GITTAG" >> $INSTALL_DIR/VERSION
- export CHAOS_LIB_HASH=`git log -n 1 --pretty="%h"`;export CHAOS_LAST_TAG=`git describe --abbrev=0`;cd -;
- cd html/chaos_dashboard/;./tag.sh $CI_COMMIT_REF_NAME;cd -
- cd html/chaos_dashboard/js/jchaos;git checkout $CI_COMMIT_REF_NAME;cd -
# -DCMAKE_BUILD_TYPE=Release Debug, Release, RelWithDebInfo and MinSizeRel
- if ! cmake -DKAFKA_RDK_ENABLE=ON -DCHAOS_BOOST_VERSION=64 -DCMAKE_BUILD_TYPE=Release -DCHAOS_EPICS_SUPPORT=ON -DCHAOS_ARCHITECTURE_TEST=ON -DCHAOS_VERSION_MAJOR="$CI_COMMIT_REF_NAME.$CHAOS_LIB_HASH.$REVNAME ($CHAOS_LAST_TAG)" -DCHAOS_VERSION_MINOR="$CI_JOB_STAGE.$CI_COMMIT_SHA" -DCHAOS_WAN=ON -DCHAOS_DRIVER_LUMINOMETER=ON -DOPENCV=$INSTALL_DIR -DIDS=ueye495 -DBASLER=ON -DCAEN2527=ON -DENABLE_MEMCACHE=ON -DCHAOS_BUILD_ID=${CI_PIPELINE_ID} -DCERN_ROOT=$INSTALL_DIR -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR . |& tee $DISTRIB_PREFIX/bundle.configuration.log;then cat /tmp/cmake.log;fi
- if ! make -j 4 install |& tee $INSTALL_DIR/bundle.compilation.log;then tar cfz compilation.tar.gz `find . -name "*.log"` $INSTALL_DIR/bundle.compilation.log;exit 1;fi
- ./tools/strip_symbols.sh $INSTALL_DIR
- tar cfz $DISTRIB_NAME.tar.gz -C /usr/local/chaos chaos-distrib
- md5sum $DISTRIB_NAME.tar.gz > $DISTRIB_NAME.tar.gz.md5
artifacts:
name: "$DISTRIB_NAME.tar.gz"
paths:
- ./*.tar.gz
expire_in: 7 day
when: always
only:
variables:
- $BUILD_DISTRIBUTION == "ubuntu2204_x86_64"
- $BUILD_DISTRIBUTION == null
# ubuntu1804_profile_x86_64:
# stage: build
# tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment