xref: /petsc/.gitlab-ci.yml (revision 340aff7505f064eb3afe2ae5d6b157daa71cc467)
1stages:
2  - test
3  - ci-status
4
5variables:
6  GIT_STRATEGY: fetch
7  GIT_DEPTH: 1
8
9mpich:
10  stage: test
11  image: jedbrown/mpich
12  before_script:
13    - echo nproc=$(nproc)
14    - cat /proc/cpuinfo
15  script:
16    - python3 ./configure --with-mpi-dir=/usr/local --with-debugging=0 --with-fc=0
17    - make
18    - make -j$(nproc) -l$(nproc) -f gmakefile test search=snes_tutorials-ex48%
19
20uni-complex-float-int64:
21  stage: test
22  image: jedbrown/mpich
23  before_script:
24    - echo nproc=$(nproc)
25    - cat /proc/cpuinfo
26  script:
27    - python3 ./configure --with-mpi=0 --with-debugging=0 --with-fc=0
28      --with-scalar-type=complex --with-precision=single --with-64-bit-indices
29    - make
30    - make -j$(nproc) -l$(nproc) -f gmakefile test search=ts_tutorials-ex11_adv_2d_quad_%
31
32success:
33  stage: ci-status
34  image: jedbrown/alpine-curl
35  script:
36    - BUILD_STATUS=passed BUILD_KEY=push BITBUCKET_NAMESPACE=petsc ./.gitlab-build-status.sh
37  when: on_success
38
39failure:
40  stage: ci-status
41  image: jedbrown/alpine-curl
42  script:
43    - BUILD_STATUS=failed BUILD_KEY=push BITBUCKET_NAMESPACE=petsc ./.gitlab-build-status.sh
44  when: on_failure
45