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