Commit 9f9d9952 authored by Kyle Shaver's avatar Kyle Shaver

initial ecp pipeline file

parent ead9d47f
Pipeline #7594 canceled with stage
in 2 minutes and 1 second
variables:
ARGOPKGS : "https://xgitlab.cels.anl.gov/argo/argopkgs/-/archive/master/argopkgs-master.tar.gz"
CI_DEBUG_TRACE: "true"
ANL_PROJECT_SERVICE_USER: "ecpcisvc"
SCHEDULER_PARAMETERS: "-A Operations -n 1 -t 60 -q default"
ANL_PROJECT_SERVICE_USER: "cscstdm"
SCHEDULER_PARAMETERS: "-A Operations -n 1 -t 60 -q default"
stages:
- style
- build
- docs
- release
make:generic:
stage: build
repoquality:
stage: style
script:
- nix run -f "$ARGOPKGS" repoquality --command repoquality
tags:
- ecp-iota
- ecp-theta
- shell
checkpatch:
stage: style
tags:
- ecp-theta
- shell
script:
- nix run -f "$ARGOPKGS" checkpatch --command checkpatch.pl
.make:generic:
stage: build
except:
- /^wip.*/
- /^WIP.*/
script:
- ./autogen.sh
- mkdir build
- ./configure --prefix=`pwd`/build
- make
- make check
#- make install
- make install
artifacts:
when: on_failure
paths:
- tests/*.log
.make:knl:
stage: build
except:
- /^wip.*/
- /^WIP.*/
make:knl:
stage: build
tags:
- knl
script:
- aprun -n 1 .ecp/ecp_knl_build.sh
- source /opt/intel/compilers_and_libraries/linux/bin/compilervars.sh intel64
- ./autogen.sh
- mkdir build
- CC=icc CFLAGS="-mkl -xhost" ./configure --prefix=`pwd`/build --enable-benchmarks
- make -j64
- make check
- make install
artifacts:
when: on_failure
paths:
- tests/*.log
except:
- /^wip.*/
- /^WIP.*/
tags:
- ecp-iota
- batch
.repoquality:
stage: build
script:
- nix run -f "$ARGOPKGS" repoquality --command repoquality
.readthedocs:
stage: docs
when: on_success
only:
- master
- /v[0-9]+\.[0-9]+\.x/
tags:
- integration
script:
- nix run nixpkgs.curl -c curl -X POST -d "branch=$CI_COMMIT_REF_NAME" -d "token=$READTHEDOCS_TOKEN" https://readthedocs.org/api/v2/webhook/argo-aml/83161/
.dist:
stage: release
when: on_success
only:
- tags
tags:
- integration
script:
- nix-build "$ARGOPKGS" -A aml-dist --arg aml-src ./.
- nix-shell "$ARGOPKGS" -A aml-dist --arg aml-src ./. --run "./release.sh CREATE $CI_JOB_ID $CI_PROJECT_ID $RELEASE_TOKEN $CI_COMMIT_REF_NAME"
artifacts:
when: on_success
paths:
- result/*.tar.gz
- CHECKSUM
expire_in: 1000y
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