Commit fca4261e authored by Jorrit Schaap's avatar Jorrit Schaap

TMSS-163: added build pipeline for MCU_MAC

parent 9d30f5fa
......@@ -22,6 +22,12 @@ prepare_ci_lta_docker_image:
- docker build -t ci_base -f Docker/lofar-ci/Dockerfile_ci_base .
- docker build -t ci_lta -f Docker/lofar-ci/Dockerfile_ci_lta .
prepare_ci_mac_docker_image:
stage: prepare
script:
- docker build -t ci_base -f Docker/lofar-ci/Dockerfile_ci_base .
- docker build -t ci_mac -f Docker/lofar-ci/Dockerfile_ci_mac .
#
# BUILD STAGE
#
......@@ -80,6 +86,23 @@ build_LTAIngest:
paths:
- build/gnucxx11_opt
build_MCU_MAC:
stage: build
image: ci_mac:latest
script:
- PACKAGE=MCU_MAC
- echo "Building $PACKAGE..."
- mkdir -p build/gnucxx11_opt
- cd build/gnucxx11_opt
- cmake -DBUILD_PACKAGES=$PACKAGE -DUSE_LOG4CPLUS=false ../..
- make -j 6
- make install
dependencies:
- prepare_ci_mac_docker_image
artifacts:
expire_in: 6 hours
paths:
- build/gnucxx11_opt
#
# DOCKERIZE
......@@ -167,6 +190,22 @@ unit_test_LTAIngest:
paths:
- build/gnucxx11_opt/Testing/Temporary/LastTest.log
unit_test_MCU_MAC:
stage: unit_test
image: ci_mac:latest
script:
- PACKAGE=MCU_MAC
- echo "Testing $PACKAGE..."
- cd build/gnucxx11_opt
- SKIP_INTEGRATION_TESTS=true ctest
dependencies:
- build_MCU_MAC
artifacts:
name: unit-test-report
when: always
paths:
- build/gnucxx11_opt/Testing/Temporary/LastTest.log
#
# INTEGRATION TEST STAGE
#
......
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