.gitlab-ci.yml 1.81 KB
Newer Older
Shane Snyder's avatar
Shane Snyder committed
1
variables:
2
  ANL_THETA_PROJECT_SERVICE_USER: "ecpcscstdm"
Shane Snyder's avatar
Shane Snyder committed
3

4 5
stages:
  - build
6
  - test
7 8 9 10 11 12

build_darshan:
  tags:
    - shell
    - ecp-theta

13 14 15 16 17
  rules:
    - if: '$CI_PIPELINE_SOURCE == "web"'
      when: always
    - if: '$CI_PIPELINE_SOURCE == "schedules"'
      when: always
18
    - if: '$CI_COMMIT_REF_NAME == "master"'
19 20
      when: always

21 22 23
  stage: build

  script:
24
    - source darshan-test/automated/common/setup.sh
25 26 27 28 29 30
    - source darshan-test/automated/theta/configure.sh
    - source darshan-test/automated/common/build.sh

  artifacts:
    paths:
      - install/
31

32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
test_darshan_static:
  tags:
    - shell
    - ecp-theta

  rules:
    - if: '$CI_PIPELINE_SOURCE == "web" && $RUN_TESTS == "true"'
      when: on_success
    - if: '$CI_PIPELINE_SOURCE == "schedules" && $RUN_TESTS == "true"'
      when: on_success

  stage: test

  script:
    - export CRAYPE_LINK_TYPE=static
    - darshan-test/regression/run-all.sh $PWD/install $PWD/scratch cray-module-alcf

  artifacts:
    paths:
        - $PWD/scratch/*.darshan
        - $PWD/scratch/*.debuglog
        - $PWD/scratch/*.out
        - $PWD/scratch/*.err

  resource_group: debug-queue
57

58 59 60 61 62 63 64 65 66 67 68
test_darshan_dynamic:
  tags:
    - shell
    - ecp-theta

  rules:
    - if: '$CI_PIPELINE_SOURCE == "web" && $RUN_TESTS == "true"'
      when: on_success
    - if: '$CI_PIPELINE_SOURCE == "schedules" && $RUN_TESTS == "true"'
      when: on_success

69
  stage: test
70 71 72 73

  script:
    - export CRAYPE_LINK_TYPE=dynamic
    - darshan-test/regression/run-all.sh $PWD/install $PWD/scratch cray-module-alcf
Shane Snyder's avatar
Shane Snyder committed
74 75 76
    - ldd $PWD/scratch/mpi-io-test
    - nm $PWD/scratch/mpi-io-test | grep darshan
    - nm $PWD/scratch/mpi-io-test | grep MPI
77 78 79 80 81 82 83

  artifacts:
    paths:
        - $PWD/scratch/*.darshan
        - $PWD/scratch/*.debuglog
        - $PWD/scratch/*.out
        - $PWD/scratch/*.err
84 85

  resource_group: debug-queue