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