xref: /petsc/.gitlab-ci.yml (revision f3a4c9b4af17a14ec60ff426169e63bf632973d4)
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, name:frog
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    RUN_GCOV: 1
438
439linux-cuda-complex:
440  extends:
441    - .stage-3
442    - .linux_test
443  tags:
444    - gpu:nvidia, os:linux, name:p1
445  variables:
446    PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump
447    TEST_ARCH: arch-ci-linux-cuda-complex
448
449linux-cuda-double-64idx:
450  extends:
451    - .stage-3
452    - .linux_test
453  tags:
454    - gpu:nvidia, os:linux, name:p1
455  variables:
456    PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump
457    TEST_ARCH: arch-ci-linux-cuda-double-64idx
458
459linux-cuda-single-cxx:
460  extends:
461    - .stage-3
462    - .linux_test
463  tags:
464    - gpu:nvidia, os:linux, name:frog
465  variables:
466    PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump -use_gpu_aware_mpi 0
467    TEST_ARCH: arch-ci-linux-cuda-single-cxx
468
469linux-cuda-uni-pkgs:
470  extends:
471    - .stage-3
472    - .linux_test
473  tags:
474    - gpu:nvidia, os:linux, name:frog
475  variables:
476    PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump
477    TEST_ARCH: arch-ci-linux-cuda-uni-pkgs
478
479linux-without-fc:
480  extends:
481    - .stage-3
482    - .linux_test
483  tags:
484    - gce-nfs
485  variables:
486    TEST_ARCH: arch-ci-linux-without-fc
487
488linux-cmplx-single:
489  extends:
490    - .stage-3
491    - .linux_test
492  tags:
493    - name:si
494  variables:
495    TEST_ARCH: arch-ci-linux-cmplx-single
496
497linux-gcc-cxx-avx2:
498  extends:
499    - .stage-3
500    - .linux_test
501  tags:
502    - name:isdp001
503  variables:
504    TEST_ARCH: arch-ci-linux-gcc-cxx-avx2
505
506linux-clang-avx:
507  extends:
508    - .stage-3
509    - .linux_test
510  tags:
511    - name:isdp001
512  variables:
513    TEST_ARCH: arch-ci-linux-clang-avx
514
515linux-knl:
516  extends:
517    - .stage-3
518    - .linux_test
519  tags:
520    - name:isdp001
521  variables:
522    TEST_ARCH: arch-ci-linux-knl
523
524linux-intel-mkl-single:
525  extends:
526    - .stage-3
527    - .linux_test_noflags
528  tags:
529    - name:isdp001
530  variables:
531    TEST_ARCH: arch-ci-linux-intel-mkl-single
532
533linux-cxx-cmplx-pkgs-64idx:
534  extends:
535    - .stage-3
536    - .linux_test
537  tags:
538    - gce-nfs
539  variables:
540    TEST_ARCH: arch-ci-linux-cxx-cmplx-pkgs-64idx
541    LOAD_MODULES: llvm/9.0.0-7fyffox gcc/8.3.0-fjpc5ys cmake/3.14.2-rl3q676
542
543linux-pkgs-dbg-ftn-interfaces:
544  extends:
545    - .stage-3
546    - .linux_test
547  tags:
548    - gce-nfs
549  variables:
550    TEST_ARCH: arch-ci-linux-pkgs-dbg-ftn-interfaces
551
552linux-pkgs-cxx-mlib:
553  extends:
554    - .stage-3
555    - .linux_test
556  tags:
557    - gce-nfs
558  variables:
559    PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump -saws_port_auto_select -saws_port_auto_select_silent
560    TEST_ARCH: arch-ci-linux-pkgs-cxx-mlib
561
562linux-pkgs-valgrind:
563  extends:
564    - .stage-3
565    - .linux_test
566  tags:
567    - gce-nfs, linux-fast
568  variables:
569    TEST_ARCH: arch-ci-linux-pkgs-valgrind
570    TIMEOUT: 7200
571
572linux-pkgs-opt:
573  extends:
574    - .stage-3
575    - .linux_test
576  tags:
577    - gce-nfs, linux-fast
578  variables:
579    PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump -saws_port_auto_select -saws_port_auto_select_silent
580    TEST_ARCH: arch-ci-linux-pkgs-opt
581    LOAD_MODULES: gcc/10.1.0-5hiqhdh
582
583linux-pkgs-gcov:
584  extends:
585    - .stage-3
586    - .linux_test
587  tags:
588    - gce-nfs, linux-gcov
589  variables:
590    TEST_ARCH: arch-ci-linux-pkgs-gcov
591    RUN_GCOV: 1
592
593linux-cmplx-gcov:
594  extends:
595    - .stage-3
596    - .linux_test
597  tags:
598    - gce-nfs, linux-gcov
599  variables:
600    PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump -vecscatter_mpi1 false -options_left false
601    TEST_ARCH: arch-ci-linux-cmplx-gcov
602    LOAD_MODULES: gcc/8.3.0-fjpc5ys
603    RUN_GCOV: 1
604
605linux-matlab-ilp64-gcov:
606  extends:
607    - .stage-3
608    - .linux_test
609  tags:
610    - gce-nfs, linux-gcov
611  variables:
612    TEST_ARCH: arch-ci-linux-matlab-ilp64-gcov
613    LOAD_MODULES: matlab/R2018a
614    RUN_GCOV: 1
615  allow_failure: true
616
617linux-gcov:
618  extends:
619    - .stage-3
620    - .linux_test
621  tags:
622    - gce-nfs, linux-gcov
623  variables:
624    TEST_ARCH: arch-ci-linux-gcov
625    RUN_GCOV: 1
626
627linux-pgi:
628  extends:
629    - .stage-3
630    - .linux_test_noflags
631  tags:
632    - gce-nfs, linux-mcpu
633  variables:
634    TEST_ARCH: arch-ci-linux-pgi
635
636linux-nagfor:
637  extends:
638    - .stage-3
639    - .linux_test_nofflags
640  tags:
641    - gce-nfs, linux-mcpu
642  variables:
643    PATH: /usr/lib/ccache:/home/svcpetsc/.local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/nfs/gce/projects/petsc/soft/nag/6.1/bin
644    NAG_KUSARI_FILE: licman1.mcs.anl.gov:7733
645    TEST_ARCH: arch-ci-linux-nagfor
646
647linux-intel-cmplx:
648  extends:
649    - .stage-3
650    - .linux_test_noflags
651  tags:
652    - gce-nfs
653  variables:
654    TEST_ARCH: arch-ci-linux-intel-cmplx
655    LOAD_MODULES: intel-mkl/19.5 intel/19.0-nompilib
656
657linux-xsdk-dbg:
658  extends:
659    - .stage-3
660    - .linux_test
661  tags:
662    - gce-nfs
663  variables:
664    TEST_ARCH: arch-ci-linux-xsdk-dbg
665    LOAD_MODULES: gcc/8.3.0-fjpc5ys
666
667linux-analyzer:
668  extends:
669    - .stage-3
670    - .linux_test
671  tags:
672    - gce-nfs
673  variables:
674    TEST_ARCH: arch-ci-linux-analyzer
675
676linux-intel:
677  extends:
678    - .stage-3
679    - .linux_test_nofflags
680  tags:
681    - gce-nfs
682  variables:
683    TEST_ARCH: arch-ci-linux-intel
684    LOAD_MODULES: intel-mkl/19.5 intel/19.0-nompilib
685
686linux-opt-misc:
687  extends:
688    - .stage-3
689    - .linux_test
690  tags:
691    - gce-nfs
692  variables:
693    TEST_ARCH: arch-ci-linux-opt-misc
694    LOAD_MODULES: gcc/6.5.0-57usejd
695
696linux-pkgs-64idx:
697  extends:
698    - .stage-3
699    - .linux_test
700  tags:
701    - gce-nfs
702  variables:
703    TEST_ARCH: arch-ci-linux-pkgs-64idx
704    LOAD_MODULES: cmake/3.15.5-fh74toq
705
706linux-64idx-i8:
707  extends:
708    - .stage-3
709    - .linux_test
710  tags:
711    - gce-nfs
712  variables:
713    TEST_ARCH: arch-ci-linux-64idx-i8
714
715linux-gcc-ifc-cmplx:
716  extends:
717    - .stage-3
718    - .linux_test_nofflags
719  tags:
720    - gce-nfs
721  variables:
722    TEST_ARCH: arch-ci-linux-gcc-ifc-cmplx
723    LOAD_MODULES: intel/19.0-nompilib
724
725linux-opt-cxx-quad:
726  extends:
727    - .stage-3
728    - .linux_test
729  tags:
730    - gce-nfs
731  variables:
732    TEST_ARCH: arch-ci-linux-opt-cxx-quad
733
734linux-ILP64:
735  extends:
736    - .stage-3
737    - .linux_test
738  tags:
739    - gce-nfs
740  variables:
741    TEST_ARCH: arch-ci-linux-ILP64
742    LOAD_MODULES: gcc/6.5.0-57usejd
743
744linux-64idx-i8-uni:
745  extends:
746    - .stage-3
747    - .linux_test
748  tags:
749    - gce-nfs
750  variables:
751    TEST_ARCH: arch-ci-linux-64idx-i8-uni
752
753mswin-intel-cxx-cmplx:
754  extends:
755    - .stage-3
756    - .mswin_test
757  tags:
758    - name:ps5
759  variables:
760    TEST_ARCH: arch-ci-mswin-intel-cxx-cmplx
761
762mswin-intel:
763  extends:
764    - .stage-3
765    - .mswin_test
766  tags:
767    - name:ps5
768  variables:
769    TEST_ARCH: arch-ci-mswin-intel
770
771mswin-opt-impi:
772  extends:
773    - .stage-3
774    - .mswin_test
775  tags:
776    - name:ps4
777  variables:
778    TEST_ARCH: arch-ci-mswin-opt-impi
779    DISABLE_TESTS: 1
780
781opensolaris-pkgs-opt:
782  extends:
783    - .stage-3
784    - .opensolaris_test
785  tags:
786    - name:n-gage
787  variables:
788    TEST_ARCH: arch-ci-opensolaris-pkgs-opt
789
790opensolaris-cmplx-pkgs-dbg:
791  extends:
792    - .stage-3
793    - .opensolaris_test
794  tags:
795    - name:n-gage
796  variables:
797    TEST_ARCH: arch-ci-opensolaris-cmplx-pkgs-dbg
798
799opensolaris-misc:
800  extends:
801    - .stage-3
802    - .opensolaris_test
803  tags:
804    - name:n-gage
805  variables:
806    TEST_ARCH: arch-ci-opensolaris-misc
807
808osx-cxx-cmplx-pkgs-dbg:
809  extends:
810    - .stage-3
811    - .osx_test
812  tags:
813    - os:macos
814  variables:
815    TEST_ARCH: arch-ci-osx-cxx-cmplx-pkgs-dbg
816
817osx-cxx-pkgs-opt:
818  extends:
819    - .stage-3
820    - .osx_test
821  tags:
822    - os:macos, opt
823  variables:
824    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
825    TEST_ARCH: arch-ci-osx-cxx-pkgs-opt
826    MAKE_CXXFLAGS: -Werror -Wno-pass-failed
827
828osx-dbg:
829  extends:
830    - .stage-3
831    - .osx_test
832  tags:
833    - os:macos
834  variables:
835    TEST_ARCH: arch-ci-osx-dbg
836
837osx-xsdk-opt:
838  extends:
839    - .stage-3
840    - .osx_test
841  tags:
842    - os:macos, opt
843  variables:
844    TEST_ARCH: arch-ci-osx-xsdk-opt
845
846# job for analyzing the final coverage results
847analyze-pipeline:
848  extends: .test
849  stage: .post
850  tags:
851    - gce-nfs
852  dependencies:
853    - linux-c-exodus-dbg
854    - linux-pkgs-gcov
855    - linux-cmplx-gcov
856    - linux-matlab-ilp64-gcov
857    - linux-gcov
858  variables:
859    PETSC_ARCH: arch-ci-analyze-pipeline
860  before_script:
861    - date
862    - hostname
863  script:
864  - git fetch --unshallow --no-tags origin +master:remotes/origin/master
865  - ./configure --with-mpi=0 --with-cxx=0 --with-c2html
866  - make srchtml
867  - make mergegcov
868  artifacts:
869    name: "$CI_JOB_NAME"
870    when: always
871    paths:
872    - arch-ci-analyze-pipeline/*
873    expire_in: 4 days
874#
875#
876# The following tests are experimental; more tests by users at other sites may be added below this.  Experimental test
877# that fail produce a warning, but do not block execution of a pipeline.
878#
879
880.test-experimental:
881  extends: .test
882  allow_failure: true
883
884