Commit 3508ded5 authored by Swann Perarnau's avatar Swann Perarnau

[ci] add CI steps on protected branches for NMC

`.ecp-ci.yml` is the file where we will define job steps for the ECP-CI
runners.

This steps must only be defined for the protected branches.

This commit introduce 3 steps, once to log the environment being used,
and two checking CUDA support.
parent 1ba7f034
Pipeline #8704 failed with stages
in 3 minutes and 9 seconds
variables:
NMC_FE1_SLURM_PARAMETERS: "--nodes=1 --partition=ecp-p9-4v100"
stages:
- build
nmc:batch:env:
stage: build
tags:
- nmc
only:
- master
- staging
script:
- uname -a
- module avail
- lspci
- module load hwloc numactl cuda
- module avail
- lstopo
- env
- which gcc
- gcc --version
- compgen -c gcc
make:nmc-cuda-check:
stage: build
variables:
tags:
- nmc
only:
- master
- staging
script:
- module load numactl hwloc cuda
- env | grep -i cuda
- cat /proc/self/status
- ./autogen.sh
- ./configure
- make -j
- make check VERBOSE=1
artifacts:
when: on_failure
paths:
- tests/test-suite.log
- config.log
make:nmc-cuda-home:
stage: build
variables:
tags:
- nmc
only:
- master
- staging
script:
- module load numactl hwloc cuda
- env | grep -i cuda
- ./autogen.sh
- ./configure --with-cuda=$CUDA_HOME
- make -j
- make check VERBOSE=1
artifacts:
when: on_failure
paths:
- tests/test-suite.log
- config.log
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