.gitlab-ci.yml 1.17 KB
Newer Older
Florian Goth's avatar
Florian Goth committed
1
types:
Florian Goth's avatar
Florian Goth committed
2
    - build
3
4
  
.test_template: &test_definition
Florian Goth's avatar
Florian Goth committed
5
6
7
    type: build
    only:
      changes:
Jonas Schwab's avatar
Jonas Schwab committed
8
9
10
        - Run.py
        - default_variables.py
        - py_alf.py
Florian Goth's avatar
Florian Goth committed
11
    script:
Jonas Schwab's avatar
Jonas Schwab committed
12
      - apt-get update && apt-get install -y pylint3 python3-numpy python3-colorama git
13
14
      - pylint3 -E Run.py default_variables.py py_alf.py
      - git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@git.physik.uni-wuerzburg.de/ALF/ALF.git
Jonas Schwab's avatar
Jonas Schwab committed
15
      - ./Run.py -RT --alfdir ./ALF --config "GNU noMPI" --branch_R master --executable_T Examples --executable_R Examples
Florian Goth's avatar
Florian Goth committed
16

17
18

Test_Buster:
19
20
  image: git.physik.uni-wuerzburg.de:25812/z03/pdi/debian:buster-gfortran-blas-lapack-fftw-hdf5-scipy
  <<: *test_definition
21
22

Test_Stretch:
23
  image: git.physik.uni-wuerzburg.de:25812/z03/pdi/debian:stretch-gfortran-blas-lapack-fftw-hdf5-scipy
Florian Goth's avatar
Florian Goth committed
24
25
26
27
28
29
30
31
  <<: *test_definition

Warn_Buster:
  image: git.physik.uni-wuerzburg.de:25812/z03/pdi/debian:buster-gfortran-blas-lapack-fftw-hdf5-scipy
  allow_failure: true
  stage: build
  only:
    changes:
Jonas Schwab's avatar
Jonas Schwab committed
32
33
34
      - Run.py
      - default_variables.py
      - py_alf.py
Florian Goth's avatar
Florian Goth committed
35
36
  script:
    - apt-get update && apt-get install -y pylint3 python3-numpy python3-colorama
Florian Goth's avatar
Florian Goth committed
37
    - pylint3 Run.py default_variables.py py_alf.py