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