Skip to content

Commit

Permalink
CI : Add build and test jobs using new Fedora 26 Python 3 image; refs #…
Browse files Browse the repository at this point in the history
  • Loading branch information
tswilliams committed Jan 4, 2019
1 parent 1c0693f commit 025864a
Showing 1 changed file with 38 additions and 1 deletion.
39 changes: 38 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ build:fedora26:
<<: *simple_build_jobTemplate
image: ${IPBUS_DOCKER_REGISTRY}/ipbus-sw-dev-fedora26:2018-01-14__erlang19.3_gcc7.1.1_boost1.63.0_pugixml1.8

build:fedora26-python3:
<<: *simple_build_jobTemplate
image: ${IPBUS_DOCKER_REGISTRY}/ipbus-sw-dev-fedora26-python3:master__erlang19.3_gcc7.1.1_boost1.63.0_pugixml1.8

build:ubuntu16:
<<: *simple_build_jobTemplate
image: ${IPBUS_DOCKER_REGISTRY}/ipbus-sw-dev-ubuntu16:2018-01-14__erlang18.3_gcc5.3.1_boost1.58.0_pugixml1.7
Expand Down Expand Up @@ -166,6 +170,7 @@ publish_build_job:
variables:
REPO_URL_OS_SUBDIR: slc6_x86_64
UHAL_ENABLE_IPBUS_PCIE: ""
UHAL_GUI_DEPENDENCIES: "wxPython numpy"

.job_template: &centos7_test_jobTemplate
<<: *rpmInstall_test_jobTemplate
Expand All @@ -174,6 +179,7 @@ publish_build_job:
REPO_URL_OS_SUBDIR: centos7_x86_64
UHAL_ENABLE_IPBUS_PCIE: ""
TEST_SUITE_CONTROLHUB_PATH_ARGUMENT: "-p /opt/cactus/bin"
UHAL_GUI_DEPENDENCIES: "wxPython numpy"


.job_template: &simpleInstall_test_jobTemplate
Expand All @@ -190,6 +196,16 @@ publish_build_job:
- build:fedora26
variables:
UHAL_ENABLE_IPBUS_PCIE: ""
UHAL_GUI_DEPENDENCIES: "wxPython numpy"

.job_template: &fedora26_python3_test_jobTemplate
<<: *simpleInstall_test_jobTemplate
image: ${IPBUS_DOCKER_REGISTRY}/ipbus-sw-dev-fedora26-python3:2018-01-14__erlang19.3_gcc7.1.1_boost1.63.0_pugixml1.8
dependencies:
- build:fedora26-python3
variables:
UHAL_ENABLE_IPBUS_PCIE: ""
UHAL_GUI_DEPENDENCIES: python3-wxpython4

.job_template: &ubuntu16_test_jobTemplate
<<: *simpleInstall_test_jobTemplate
Expand Down Expand Up @@ -232,7 +248,7 @@ publish_build_job:
tags:
- docker
script:
- 'if [ -x "$(command -v yum)" ]; then sudo yum -y install wxPython numpy; else sudo apt-get update && sudo apt-get -y install python-wx* ; fi'
- 'if [ -x "$(command -v yum)" ]; then sudo yum -y install ${UHAL_GUI_DEPENDENCIES} ; else sudo apt-get update && sudo apt-get -y install python-wx* ; fi'
- export PATH=/opt/cactus/bin/uhal/tests:$PATH
- export LD_LIBRARY_PATH=/opt/cactus/lib:$LD_LIBRARY_PATH
- env | grep -v PASSWORD | grep -v TOKEN
Expand Down Expand Up @@ -327,6 +343,27 @@ test_controlhub:fedora26:
<<: *test_controlhub_plainScripts_jobTemplate


test_core:fedora26-python3:
<<: *fedora26_python3_test_jobTemplate
<<: *test_core_jobTemplate

test_python:fedora26-python3:
<<: *fedora26_python3_test_jobTemplate
<<: *test_python_jobTemplate

test_gui:fedora26-python3:
<<: *fedora26_python3_test_jobTemplate
<<: *test_gui_jobTemplate

test_tools:fedora26-python3:
<<: *fedora26_python3_test_jobTemplate
<<: *test_tools_jobTemplate

test_controlhub:fedora26-python3:
<<: *fedora26_python3_test_jobTemplate
<<: *test_controlhub_plainScripts_jobTemplate


test_core:ubuntu16:
<<: *ubuntu16_test_jobTemplate
<<: *test_core_jobTemplate
Expand Down

0 comments on commit 025864a

Please sign in to comment.