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