xref: /petsc/.gitlab-ci.yml (revision 13790179daf6a8bf1870c8d2be8f28b8a172f9f8)
1#
2# stage-1 take only a few minutes; they do not run the full test suite or external packages.
3#
4# stage-2 runs on MCS systems and may take 10 to 15 minutes. They run the full test suite but with limited mixture of external packages
5#
6# stage-3 runs on MCS systems and may take an hour or more. They run the full test suite and heavily test external packages, utilize valgrind etc
7#
8# The stage-(n) tests are only started if all of the stage-(n-1) tests run without error
9#   You can limit the testing by using the variable STAGE with value 1 or 2
10#
11
12stages:
13  - stage-1
14  - stage-2
15  - stage-3
16variables:
17  GIT_STRATEGY: fetch
18  GIT_CLEAN_FLAGS: -ffdxq
19  PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump
20  TIMEOUT: 450
21
22#
23# The most basic template that most tests will expand upon. In particular merge requests and branch pushes DO NOT trigger testing
24#
25
26.test:
27  only:
28    refs:
29#     Set with CI/CD Shedules - New Schedule
30      - schedules
31      - api
32#     Set with CI/CD Pipelines - Run Pipeline
33      - web
34      - merge_requests
35  dependencies: []
36
37check-ci-settings:
38  extends: .test
39  stage: .pre
40  tags:
41    - check-ci-settings
42  script:
43    - lib/petsc/bin/maint/check-ci-settings.sh
44#
45#  This provides the basic order of operations and options template for cloud based stage 1 tests.
46#  Not all test-short need to follow this template but most will.
47#
48
49.stage-1:
50  extends: .test
51  stage: stage-1
52  tags:
53    - stage1
54  before_script:
55    - date
56    - hostname
57    - grep PRETTY_NAME /etc/os-release
58    - nproc
59    - lscpu
60    - ccache --zero-stats
61    - echo ${CONFIG_OPTS}
62  script:
63    - ${PYTHON} ./configure --with-debugging=0 COPTFLAGS='-O -march=native' CXXOPTFLAGS='-O -march=native' FOPTFLAGS='-O -march=native' ${CONFIG_OPTS}
64    - make CFLAGS=-Werror CXXFLAGS="-Werror -Wzero-as-null-pointer-constant" FFLAGS=-Werror
65    - make CFLAGS=-Werror CXXFLAGS=-Werror FFLAGS=-Werror allgtests-tap search="${TEST_SEARCH}" TIMEOUT=${TIMEOUT}
66  after_script:
67    - date
68    - ccache --show-stats
69  artifacts:
70    reports:
71      junit: arch-*/tests/testresults.xml
72    name: "$CI_JOB_NAME"
73    when: always
74    paths:
75    - arch-*/lib/petsc/conf/*.log
76    - arch-*/lib/pkgconfig/PETSc.pc
77    - arch-*/tests/testresults.xml
78    - arch-*/tests/test_*_tap.log
79    - arch-*/tests/test_*_err.log
80    expire_in: 4 days
81
82#
83# The following tests run on the cloud as part of stage-1.
84#
85
86mpich-cxx-py3:
87  extends: .stage-1
88  tags:
89  - stage1, fedora
90  variables:
91    PYTHON: python3
92    CONFIG_OPTS: --with-mpi-dir=/home/glci/soft/mpich-3.3.2 --with-clanguage=cxx --with-fc=0
93    TEST_SEARCH: snes_tutorials-ex48%
94
95uni-complex-float-int64:
96  extends: .stage-1
97  variables:
98    PYTHON: python3
99    CONFIG_OPTS: --with-mpi=0 --with-scalar-type=complex --with-precision=single --with-64-bit-indices
100    TEST_SEARCH: ts_tutorials-ex11_adv_2d_quad_%
101
102c99-mlib-static-py2:
103  extends: .stage-1
104  variables:
105    PYTHON: python2
106    CONFIG_OPTS: --with-mpi-dir=/home/glci/soft/mpich-3.3.2 --with-single-library=0 --with-shared-libraries=0 CFLAGS=-std=c99
107    TEST_SEARCH: snes_tutorials-ex19%
108
109checksource:
110  extends: .test
111  stage: .pre
112  tags:
113    - stage1
114  script:
115    - python3 ./configure --with-mpi=0 --with-fc=0 --with-cxx=0
116    - make checkbadSource SHELL=bash
117    - make -f gmakefile check_output SHELL=bash
118
119pause-for-approval:
120  extends: .test
121  stage: .pre
122  tags:
123    - stage1
124  only:
125    refs:
126      - merge_requests
127    variables:
128      - $CI_MERGE_REQUEST_EVENT_TYPE == "merged_result"
129      - $CI_MERGE_REQUEST_EVENT_TYPE == "detached"
130  script:
131    - echo "pause-for-approval has no script to run"
132  variables:
133    GIT_STRATEGY: none
134  when: manual
135  allow_failure: false
136
137check-py-vermin:
138  extends: .test
139  stage: .pre
140  tags:
141    - stage1
142  script:
143    - vermin -vv  -t=2.6- -t=3.4- config
144#
145# This provides the basic order of operations and options template for stage-2,3 tests.
146# Not all stage-2,3 need to follow this template, but most will.
147#
148.stage-23:
149  extends: .test
150  script:
151    - printf "PATH:$PATH\n"
152    - printf "PETSC_OPTIONS:$PETSC_OPTIONS\n"
153    - printf "./config/examples/${TEST_ARCH}.py\n"
154    - cat ./config/examples/${TEST_ARCH}.py
155    - ./config/examples/${TEST_ARCH}.py
156    - make CFLAGS=${MAKE_CFLAGS} CXXFLAGS=${MAKE_CXXFLAGS} FFLAGS=${MAKE_FFLAGS}
157    - make CFLAGS=${MAKE_CFLAGS} CXXFLAGS=${MAKE_CXXFLAGS} FFLAGS=${MAKE_FFLAGS} check
158    - make updatedatafiles
159    - if [ -z ${DISABLE_TESTS+x} ]; then make CFLAGS=${MAKE_CFLAGS} CXXFLAGS=${MAKE_CXXFLAGS} FFLAGS=${MAKE_FFLAGS} cleantest allgtests-tap TIMEOUT=${TIMEOUT}; fi
160    - if [ ! -z ${RUN_GCOV+x} ]; then make gcov && bash <(curl -s https://codecov.io/bash) -c > /dev/null 2>&1; fi
161  artifacts:
162    reports:
163      junit: ${TEST_ARCH}/tests/testresults.xml
164    name: "$CI_JOB_NAME"
165    when: always
166    paths:
167    - ${TEST_ARCH}/lib/petsc/conf/*.log
168    - ${TEST_ARCH}/lib/pkgconfig/PETSc.pc
169    - ${TEST_ARCH}/tests/testresults.xml
170    - ${TEST_ARCH}/tests/test_${TEST_ARCH}_tap.log
171    - ${TEST_ARCH}/tests/test_${TEST_ARCH}_err.log
172    - ${TEST_ARCH}/gcov.tar.gz
173    expire_in: 4 days
174  variables:
175    OPENBLAS_NUM_THREADS: 1
176
177.stage-2:
178  extends: .stage-23
179  stage: stage-2
180
181.stage-3:
182  extends: .stage-23
183  stage: stage-3
184
185#
186# The following provide templates for various OSes for pre/post info
187#
188
189.linux_test_noflags:
190  before_script:
191    - date
192    - hostname
193    - grep PRETTY_NAME /etc/os-release
194    - nproc
195    - lscpu
196    - ccache --zero-stats
197    - if [ ! -z ${LOAD_MODULES+x} ]; then module --trace load ${LOAD_MODULES}; module list; fi
198    - if [ ! -z ${INIT_SCRIPT+x} ]; then echo "sourcing ${INIT_SCRIPT}"; source ${INIT_SCRIPT}; fi
199  after_script:
200    - date
201    - ccache --show-stats
202
203.linux_test_nofflags:
204  extends: .linux_test_noflags
205  variables:
206    MAKE_CFLAGS: -Werror
207    MAKE_CXXFLAGS: -Werror
208
209.linux_test:
210  extends: .linux_test_noflags
211  variables:
212    MAKE_CFLAGS: -Werror
213    MAKE_CXXFLAGS: -Werror
214    MAKE_FFLAGS: -Werror
215
216.freebsd_test:
217  variables:
218    MAKE_CFLAGS: -Werror
219    MAKE_CXXFLAGS: -Werror
220    MAKE_FFLAGS: -Werror
221  before_script:
222    - date
223    - hostname
224    - freebsd-version
225    - echo $(sysctl -n hw.ncpu)
226    - ccache --zero-stats
227  after_script:
228    - date
229    - ccache --show-stats
230
231.osx_test:
232  variables:
233    MAKE_CFLAGS: -Werror
234    MAKE_CXXFLAGS: -Werror
235    MAKE_FFLAGS: -Werror
236  before_script:
237    - date
238    - hostname
239    - sw_vers -productVersion
240    - echo $(sysctl -n hw.ncpu)
241    - ccache --zero-stats
242  after_script:
243    - date
244    - ccache --show-stats
245
246.opensolaris_test:
247  before_script:
248    - date
249    - hostname
250    - uname -a
251    - nproc
252    - isainfo -x
253  after_script:
254    - date
255
256.mswin_test:
257  before_script:
258    - date
259    - hostname
260    - uname -a
261    - nproc
262  after_script:
263    - date
264
265#
266# The following tests run as part of stage-2.
267#
268# The tags variable used in the tests below connects the particular test with the runners
269# listed on the left hand side of https://gitlab.com/petsc/petsc/-/settings/ci_cd.
270# For example the test linux-gcc-complex-opt  any runner that has the tag 'name:pj02'
271# (in a blue box beneath it)
272#
273
274freebsd-cxx-cmplx-64idx-dbg:
275  extends:
276    - .stage-2
277    - .freebsd_test
278  tags:
279    - os:fbsd
280  variables:
281    TEST_ARCH: arch-ci-freebsd-cxx-cmplx-64idx-dbg
282
283freebsd-c-single-opt:
284  extends:
285    - .stage-2
286    - .freebsd_test
287  tags:
288    - os:fbsd
289  variables:
290    TEST_ARCH: arch-ci-freebsd-c-single-opt
291
292linux-cuda-double:
293  extends:
294    - .stage-2
295    - .linux_test
296  tags:
297    - gpu:nvidia, os:linux, name:p1
298  variables:
299    PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump
300    TEST_ARCH: arch-ci-linux-cuda-double
301
302linux-gcc-quad-64idx-dbg:
303  extends:
304    - .stage-2
305    - .linux_test
306  tags:
307    - linux-stage2
308  variables:
309    TEST_ARCH: arch-ci-linux-gcc-quad-64idx-dbg
310
311linux-gcc-pkgs-opt:
312  extends:
313    - .stage-2
314    - .linux_test
315  tags:
316    - linux-stage2
317  variables:
318    TEST_ARCH: arch-ci-linux-gcc-pkgs-opt
319
320linux-gcc-complex-opt:
321  extends:
322    - .stage-2
323    - .linux_test
324  tags:
325    - linux-stage2
326  variables:
327    TEST_ARCH: arch-ci-linux-gcc-complex-opt
328
329mswin-uni:
330  extends:
331    - .stage-2
332    - .mswin_test
333  tags:
334    - name:ps5-2
335  variables:
336    TEST_ARCH: arch-ci-mswin-uni
337
338mswin-gnu:
339  extends:
340    - .stage-2
341    - .mswin_test
342  tags:
343    - name:ps5-3
344  variables:
345    TEST_ARCH: arch-ci-mswin-gnu
346    MAKE_CFLAGS: -Werror
347    MAKE_CXXFLAGS: -Werror
348    MAKE_FFLAGS: -Werror
349    DISABLE_TESTS: 1
350  artifacts:
351    reports:
352    paths:
353    - arch-*/lib/petsc/conf/*.log
354    expire_in: 4 days
355
356#
357# The following tests run as part of stage-3.
358#
359
360freebsd-cxx-cmplx-pkgs-dbg:
361  extends:
362    - .stage-3
363    - .freebsd_test
364  tags:
365    - os:fbsd
366  variables:
367    TEST_ARCH: arch-ci-freebsd-cxx-cmplx-pkgs-dbg
368
369freebsd-cxx-pkgs-opt:
370  extends:
371    - .stage-3
372    - .freebsd_test
373  tags:
374    - os:fbsd
375  variables:
376    PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump -saws_port_auto_select -saws_port_auto_select_silent -vecscatter_mpi1 false -options_left false
377    TEST_ARCH: arch-ci-freebsd-cxx-pkgs-opt
378
379freebsd-pkgs-opt:
380  extends:
381    - .stage-3
382    - .freebsd_test
383  tags:
384    - os:fbsd
385  variables:
386    TEST_ARCH: arch-ci-freebsd-pkgs-opt
387
388linux-hiphcc-double:
389  extends:
390    - .stage-3
391    - .linux_test
392  tags:
393    - os:linux, name:frog
394  variables:
395    TEST_ARCH: arch-ci-linux-hip-double
396    DISABLE_TESTS: 1
397
398linux-sycl-double:
399  extends:
400    - .stage-3
401    - .linux_test_nofflags
402  tags:
403    - os:linux, name:pj01
404  variables:
405    TEST_ARCH: arch-ci-linux-sycl-double
406    INIT_SCRIPT: /home/glci/bin/ci-inteloneapi.sh
407    DISABLE_TESTS: 1
408
409linux-viennacl:
410  extends:
411    - .stage-3
412    - .linux_test
413  tags:
414    - gpu:nvidia, os:linux, name:frog
415  variables:
416    TEST_ARCH: arch-ci-linux-viennacl
417
418linux-viennacl-cuda:
419  extends:
420    - .stage-3
421    - .linux_test
422  tags:
423    - gpu:nvidia, os:linux, name:frog
424  variables:
425    PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump -use_gpu_aware_mpi 0
426    TEST_ARCH: arch-ci-linux-viennacl-cuda
427
428linux-c-exodus-dbg:
429  extends:
430    - .stage-3
431    - .linux_test
432  tags:
433    - gpu:nvidia, os:linux
434  variables:
435    PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump -use_gpu_aware_mpi 0
436    TEST_ARCH: arch-ci-linux-c-exodus-dbg
437
438linux-cuda-complex:
439  extends:
440    - .stage-3
441    - .linux_test
442  tags:
443    - gpu:nvidia, os:linux, name:p1
444  variables:
445    PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump
446    TEST_ARCH: arch-ci-linux-cuda-complex
447
448linux-cuda-double-64idx:
449  extends:
450    - .stage-3
451    - .linux_test
452  tags:
453    - gpu:nvidia, os:linux, name:p1
454  variables:
455    PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump
456    TEST_ARCH: arch-ci-linux-cuda-double-64idx
457
458linux-cuda-single-cxx:
459  extends:
460    - .stage-3
461    - .linux_test
462  tags:
463    - gpu:nvidia, os:linux, name:frog
464  variables:
465    PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump -use_gpu_aware_mpi 0
466    TEST_ARCH: arch-ci-linux-cuda-single-cxx
467
468linux-cuda-uni-pkgs:
469  extends:
470    - .stage-3
471    - .linux_test
472  tags:
473    - gpu:nvidia, os:linux, name:frog
474  variables:
475    PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump
476    TEST_ARCH: arch-ci-linux-cuda-uni-pkgs
477
478linux-without-fc:
479  extends:
480    - .stage-3
481    - .linux_test
482  tags:
483    - gce-nfs
484  variables:
485    TEST_ARCH: arch-ci-linux-without-fc
486
487linux-cmplx-single:
488  extends:
489    - .stage-3
490    - .linux_test
491  tags:
492    - name:si
493  variables:
494    TEST_ARCH: arch-ci-linux-cmplx-single
495
496linux-gcc-cxx-avx2:
497  extends:
498    - .stage-3
499    - .linux_test
500  tags:
501    - name:isdp001
502  variables:
503    TEST_ARCH: arch-ci-linux-gcc-cxx-avx2
504
505linux-clang-avx:
506  extends:
507    - .stage-3
508    - .linux_test
509  tags:
510    - name:isdp001
511  variables:
512    TEST_ARCH: arch-ci-linux-clang-avx
513
514linux-knl:
515  extends:
516    - .stage-3
517    - .linux_test
518  tags:
519    - name:isdp001
520  variables:
521    TEST_ARCH: arch-ci-linux-knl
522
523linux-intel-mkl-single:
524  extends:
525    - .stage-3
526    - .linux_test_noflags
527  tags:
528    - name:isdp001
529  variables:
530    TEST_ARCH: arch-ci-linux-intel-mkl-single
531
532linux-cxx-cmplx-pkgs-64idx:
533  extends:
534    - .stage-3
535    - .linux_test
536  tags:
537    - gce-nfs
538  variables:
539    TEST_ARCH: arch-ci-linux-cxx-cmplx-pkgs-64idx
540    LOAD_MODULES: llvm/9.0.0-7fyffox gcc/8.3.0-fjpc5ys cmake/3.14.2-rl3q676
541
542linux-pkgs-dbg-ftn-interfaces:
543  extends:
544    - .stage-3
545    - .linux_test
546  tags:
547    - gce-nfs
548  variables:
549    TEST_ARCH: arch-ci-linux-pkgs-dbg-ftn-interfaces
550
551linux-pkgs-cxx-mlib:
552  extends:
553    - .stage-3
554    - .linux_test
555  tags:
556    - gce-nfs
557  variables:
558    PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump -saws_port_auto_select -saws_port_auto_select_silent
559    TEST_ARCH: arch-ci-linux-pkgs-cxx-mlib
560
561linux-pkgs-valgrind:
562  extends:
563    - .stage-3
564    - .linux_test
565  tags:
566    - gce-nfs, linux-fast
567  variables:
568    TEST_ARCH: arch-ci-linux-pkgs-valgrind
569    TIMEOUT: 7200
570
571linux-pkgs-opt:
572  extends:
573    - .stage-3
574    - .linux_test
575  tags:
576    - gce-nfs, linux-fast
577  variables:
578    PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump -saws_port_auto_select -saws_port_auto_select_silent
579    TEST_ARCH: arch-ci-linux-pkgs-opt
580    LOAD_MODULES: gcc/10.1.0-5hiqhdh
581
582linux-pkgs-gcov:
583  extends:
584    - .stage-3
585    - .linux_test
586  tags:
587    - gce-nfs, linux-gcov
588  variables:
589    TEST_ARCH: arch-ci-linux-pkgs-gcov
590    RUN_GCOV: 1
591
592linux-cmplx-gcov:
593  extends:
594    - .stage-3
595    - .linux_test
596  tags:
597    - gce-nfs, linux-gcov
598  variables:
599    PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump -vecscatter_mpi1 false -options_left false
600    TEST_ARCH: arch-ci-linux-cmplx-gcov
601    LOAD_MODULES: gcc/8.3.0-fjpc5ys
602    RUN_GCOV: 1
603
604linux-matlab-ilp64-gcov:
605  extends:
606    - .stage-3
607    - .linux_test
608  tags:
609    - gce-nfs, linux-gcov
610  variables:
611    TEST_ARCH: arch-ci-linux-matlab-ilp64-gcov
612    LOAD_MODULES: matlab/R2018a
613    RUN_GCOV: 1
614  allow_failure: true
615
616linux-gcov:
617  extends:
618    - .stage-3
619    - .linux_test
620  tags:
621    - gce-nfs, linux-gcov
622  variables:
623    TEST_ARCH: arch-ci-linux-gcov
624    RUN_GCOV: 1
625
626linux-pgi:
627  extends:
628    - .stage-3
629    - .linux_test_noflags
630  tags:
631    - gce-nfs, linux-mcpu
632  variables:
633    TEST_ARCH: arch-ci-linux-pgi
634
635linux-nagfor:
636  extends:
637    - .stage-3
638    - .linux_test_nofflags
639  tags:
640    - gce-nfs, linux-mcpu
641  variables:
642    PATH: /usr/lib/ccache:/home/svcpetsc/.local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/nfs/gce/projects/petsc/soft/nag/6.1/bin
643    NAG_KUSARI_FILE: licman1.mcs.anl.gov:7733
644    TEST_ARCH: arch-ci-linux-nagfor
645
646linux-intel-cmplx:
647  extends:
648    - .stage-3
649    - .linux_test_noflags
650  tags:
651    - gce-nfs
652  variables:
653    TEST_ARCH: arch-ci-linux-intel-cmplx
654    LOAD_MODULES: intel-mkl/19.5 intel/19.0-nompilib
655
656linux-xsdk-dbg:
657  extends:
658    - .stage-3
659    - .linux_test
660  tags:
661    - gce-nfs
662  variables:
663    TEST_ARCH: arch-ci-linux-xsdk-dbg
664    LOAD_MODULES: gcc/8.3.0-fjpc5ys
665
666linux-analyzer:
667  extends:
668    - .stage-3
669    - .linux_test
670  tags:
671    - gce-nfs
672  variables:
673    TEST_ARCH: arch-ci-linux-analyzer
674
675linux-intel:
676  extends:
677    - .stage-3
678    - .linux_test_nofflags
679  tags:
680    - gce-nfs
681  variables:
682    TEST_ARCH: arch-ci-linux-intel
683    LOAD_MODULES: intel-mkl/19.5 intel/19.0-nompilib
684
685linux-opt-misc:
686  extends:
687    - .stage-3
688    - .linux_test
689  tags:
690    - gce-nfs
691  variables:
692    TEST_ARCH: arch-ci-linux-opt-misc
693    LOAD_MODULES: gcc/6.5.0-57usejd
694
695linux-pkgs-64idx:
696  extends:
697    - .stage-3
698    - .linux_test
699  tags:
700    - gce-nfs
701  variables:
702    TEST_ARCH: arch-ci-linux-pkgs-64idx
703    LOAD_MODULES: cmake/3.15.5-fh74toq
704
705linux-64idx-i8:
706  extends:
707    - .stage-3
708    - .linux_test
709  tags:
710    - gce-nfs
711  variables:
712    TEST_ARCH: arch-ci-linux-64idx-i8
713
714linux-gcc-ifc-cmplx:
715  extends:
716    - .stage-3
717    - .linux_test_nofflags
718  tags:
719    - gce-nfs
720  variables:
721    TEST_ARCH: arch-ci-linux-gcc-ifc-cmplx
722    LOAD_MODULES: intel/19.0-nompilib
723
724linux-opt-cxx-quad:
725  extends:
726    - .stage-3
727    - .linux_test
728  tags:
729    - gce-nfs
730  variables:
731    TEST_ARCH: arch-ci-linux-opt-cxx-quad
732
733linux-ILP64:
734  extends:
735    - .stage-3
736    - .linux_test
737  tags:
738    - gce-nfs
739  variables:
740    TEST_ARCH: arch-ci-linux-ILP64
741    LOAD_MODULES: gcc/6.5.0-57usejd
742
743linux-64idx-i8-uni:
744  extends:
745    - .stage-3
746    - .linux_test
747  tags:
748    - gce-nfs
749  variables:
750    TEST_ARCH: arch-ci-linux-64idx-i8-uni
751
752mswin-intel-cxx-cmplx:
753  extends:
754    - .stage-3
755    - .mswin_test
756  tags:
757    - name:ps5
758  variables:
759    TEST_ARCH: arch-ci-mswin-intel-cxx-cmplx
760
761mswin-intel:
762  extends:
763    - .stage-3
764    - .mswin_test
765  tags:
766    - name:ps5
767  variables:
768    TEST_ARCH: arch-ci-mswin-intel
769
770mswin-opt-impi:
771  extends:
772    - .stage-3
773    - .mswin_test
774  tags:
775    - name:ps4
776  variables:
777    TEST_ARCH: arch-ci-mswin-opt-impi
778    DISABLE_TESTS: 1
779
780opensolaris-pkgs-opt:
781  extends:
782    - .stage-3
783    - .opensolaris_test
784  tags:
785    - name:n-gage
786  variables:
787    TEST_ARCH: arch-ci-opensolaris-pkgs-opt
788
789opensolaris-cmplx-pkgs-dbg:
790  extends:
791    - .stage-3
792    - .opensolaris_test
793  tags:
794    - name:n-gage
795  variables:
796    TEST_ARCH: arch-ci-opensolaris-cmplx-pkgs-dbg
797
798opensolaris-misc:
799  extends:
800    - .stage-3
801    - .opensolaris_test
802  tags:
803    - name:n-gage
804  variables:
805    TEST_ARCH: arch-ci-opensolaris-misc
806
807osx-cxx-cmplx-pkgs-dbg:
808  extends:
809    - .stage-3
810    - .osx_test
811  tags:
812    - os:macos
813  variables:
814    TEST_ARCH: arch-ci-osx-cxx-cmplx-pkgs-dbg
815
816osx-cxx-pkgs-opt:
817  extends:
818    - .stage-3
819    - .osx_test
820  tags:
821    - os:macos, opt
822  variables:
823    PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump -saws_port_auto_select -saws_port_auto_select_silent -vecscatter_mpi1 false -options_left false
824    TEST_ARCH: arch-ci-osx-cxx-pkgs-opt
825    MAKE_CXXFLAGS: -Werror -Wno-pass-failed
826
827osx-dbg:
828  extends:
829    - .stage-3
830    - .osx_test
831  tags:
832    - os:macos
833  variables:
834    TEST_ARCH: arch-ci-osx-dbg
835
836osx-xsdk-opt:
837  extends:
838    - .stage-3
839    - .osx_test
840  tags:
841    - os:macos, opt
842  variables:
843    TEST_ARCH: arch-ci-osx-xsdk-opt
844
845# job for analyzing the final coverage results
846analyze-pipeline:
847  extends: .test
848  stage: .post
849  tags:
850    - gce-nfs
851  dependencies:
852    - linux-pkgs-gcov
853    - linux-cmplx-gcov
854    - linux-matlab-ilp64-gcov
855    - linux-gcov
856  variables:
857    PETSC_ARCH: arch-ci-analyze-pipeline
858  before_script:
859    - date
860    - hostname
861  script:
862  - git fetch --unshallow --no-tags origin +master:remotes/origin/master
863  - ./configure --with-mpi=0 --with-cxx=0 --with-c2html
864  - make srchtml
865  - make mergegcov
866  artifacts:
867    name: "$CI_JOB_NAME"
868    when: always
869    paths:
870    - arch-ci-analyze-pipeline/*
871    expire_in: 4 days
872#
873#
874# The following tests are experimental; more tests by users at other sites may be added below this.  Experimental test
875# that fail produce a warning, but do not block execution of a pipeline.
876#
877
878.test-experimental:
879  extends: .test
880  allow_failure: true
881
882