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

small test also for targets

parent bdd82cf1
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -127,7 +127,30 @@ ubuntu1404_x86_64:
paths:
- ./*.tar.gz
expire_in: 5 day
build_arm_linux26:
stage: build
image: baltig.infn.it:4567/amichelo/chaos_bundle_compilation:lite
script:
- export PATH=/usr/local/chaos/i686-nptl-linux-gnu/bin/:$PATH
- export DISTRIB_NAME=chaos-distrib-$CI_COMMIT_REF_NAME-$CI_JOB_NAME
- export INSTALL_DIR=/builds/amichelo/chaos_bundle_compilation/distrib/$DISTRIB_NAME
- mkdir -p $INSTALL_DIR
- repo init -q --no-clone-bundle -u git@gitlab.com:chaos-lnf-control/chaos_repo_bundle.git -b $CI_COMMIT_REF_NAME
- repo sync
- export PATH=/usr/local/chaos/gcc-arm-infn-linux26/bin/:$PATH
- cmake -DCHAOS_VME=OFF -DCHAOS_VERSION_MAJOR="$CI_COMMIT_REF_NAME" -DCHAOS_VERSION_MINOR="CI_JOB_STAGE.$CI_COMMIT_SHA" . -DCHAOS_STATIC=ON -DCHAOS_BUILD_ID=${CI_PIPELINE_ID} -DCHAOS_TARGET=arm-linux-2.6 -DCHAOS_CDS=OFF -DCHAOS_MDS=OFF -DCHAOS_WAN=OFF -DCHAOS_EXAMPLES=OFF -DCHAOS_ENABLE_C11=OFF -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR
- make -j 4 install |& tee $INSTALL_DIR/bundle.compilation.log
- arm-infn-linux-gnueabi-strip `find $INSTALL_DIR/bin/ -type f`
- arm-infn-linux-gnueabi-strip `find $INSTALL_DIR/lib/ -name "*.a" -type f`
- tar cfz $DISTRIB_NAME.tar.gz -C $INSTALL_DIR/.. $DISTRIB_NAME
artifacts:
name: "$DISTRIB_NAME.tar.gz"
paths:
- ./*.tar.gz
expire_in: 1 day
test_arm_linux26:
dependencies:
- build_arm_linux26
......
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