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