Skip to content

CI upgrade

Daniel Hugo Campora Perez requested to merge dcampora_ci_upgrade into master

This MR improves the CI script in Allen by introducing the following features:

  • CUDA and CPU builds are now possible.
  • A node with an E5-2630v4 has been configured to run the CPU test.
  • When run in CPU mode, the CPU model of the server is parsed and printed.
  • Two reference files are added, for the CPU (ivybridge build) and for the CUDA build.
  • A new stage Test has been created. For the moment, the BsPhiPhi output is checked against reference files. The script fails if the diff is not empty.
  • The CI script now notifies the branch producing the results.
  • It is now possible to define Release, Debug or RelWithDebInfo builds in the CI script.
  • It is now possible to add any options to the job. Ie. job CUDA:DefaultSequence:Debug:-DUSE_ROOT=ON:build will build a CUDA target, sequence DefaultSequence, type Debug, with option -DUSE_ROOT=ON.
  • The tag cuda refers to any server with a GPU.
  • The gpu gpu0 will execute in whatever first GPU is on a system. gpu1 will do the same with the second GPU.
  • gpu0 and gpu1 both are assumed to be LOW capability devices.
  • Jobs for a Debug CUDA build, a Debug -DUSE_ROOT=ON CUDA build, and respective runs, have been added.
  • -DCPU=ON and -DHIP=ON become -DTARGET_CPU=ON and -DTARGET_HIP=ON.
Edited by Daniel Hugo Campora Perez

Merge request reports

Loading