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-cxx-cmplx-pkgs-64idx: 446 extends: 447 - .stage-3 448 - .linux_test 449 tags: 450 - name:pj01 451 variables: 452 TEST_ARCH: arch-ci-linux-cxx-cmplx-pkgs-64idx 453 454linux-pkgs-dbg-ftn-interfaces: 455 extends: 456 - .stage-3 457 - .linux_test 458 tags: 459 - name:pj02 460 variables: 461 TEST_ARCH: arch-ci-linux-pkgs-dbg-ftn-interfaces 462 463linux-pkgs-cxx-mlib: 464 extends: 465 - .stage-3 466 - .linux_test 467 tags: 468 - name:pj02 469 variables: 470 PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump -saws_port_auto_select -saws_port_auto_select_silent 471 TEST_ARCH: arch-ci-linux-pkgs-cxx-mlib 472 473linux-pkgs-valgrind: 474 extends: 475 - .stage-3 476 - .linux_test 477 tags: 478 - gce-nfs, linux-fast 479 variables: 480 TEST_ARCH: arch-ci-linux-pkgs-valgrind 481 TIMEOUT: 7200 482 483linux-pkgs-opt: 484 extends: 485 - .stage-3 486 - .linux_test 487 tags: 488 - gce-nfs, linux-fast 489 variables: 490 PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump -saws_port_auto_select -saws_port_auto_select_silent 491 TEST_ARCH: arch-ci-linux-pkgs-opt 492 493linux-pkgs-gcov: 494 extends: 495 - .stage-3 496 - .linux_test 497 tags: 498 - gce-nfs, linux-fast 499 variables: 500 TEST_ARCH: arch-ci-linux-pkgs-gcov 501 after_script: 502 - make gcov 503 artifacts: 504 when: always 505 paths: 506 - ${TEST_ARCH}/lib/petsc/conf/*.log 507 - ${TEST_ARCH}/tests/testresults.xml 508 - ${TEST_ARCH}/tests/test_${TEST_ARCH}_tap.log 509 - ${TEST_ARCH}/tests/test_${TEST_ARCH}_err.log 510 - ${TEST_ARCH}/gcov.tar.gz 511 expire_in: 4 days 512 513linux-cmplx-gcov: 514 extends: 515 - .stage-3 516 - .linux_test 517 tags: 518 - gce-nfs, linux-fast 519 variables: 520 PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump -vecscatter_mpi1 false -options_left false 521 TEST_ARCH: arch-ci-linux-cmplx-gcov 522 LOAD_MODULES: gcc/8.3.0-fjpc5ys 523 after_script: 524 - make gcov 525 artifacts: 526 when: always 527 paths: 528 - ${TEST_ARCH}/lib/petsc/conf/*.log 529 - ${TEST_ARCH}/tests/testresults.xml 530 - ${TEST_ARCH}/tests/test_${TEST_ARCH}_tap.log 531 - ${TEST_ARCH}/tests/test_${TEST_ARCH}_err.log 532 - ${TEST_ARCH}/gcov.tar.gz 533 expire_in: 4 days 534 535linux-pgi: 536 extends: 537 - .stage-3 538 - .linux_test_noflags 539 tags: 540 - gce-nfs, linux-fast 541 variables: 542 TEST_ARCH: arch-ci-linux-pgi 543 544linux-matlab-ilp64-gcov: 545 extends: 546 - .stage-3 547 - .linux_test 548 tags: 549 - gce-nfs, linux-fast 550 variables: 551 TEST_ARCH: arch-ci-linux-matlab-ilp64-gcov 552 LOAD_MODULES: matlab/R2018a 553 after_script: 554 - make gcov 555 artifacts: 556 when: always 557 paths: 558 - ${TEST_ARCH}/lib/petsc/conf/*.log 559 - ${TEST_ARCH}/tests/testresults.xml 560 - ${TEST_ARCH}/tests/test_${TEST_ARCH}_tap.log 561 - ${TEST_ARCH}/tests/test_${TEST_ARCH}_err.log 562 - ${TEST_ARCH}/gcov.tar.gz 563 expire_in: 4 days 564 allow_failure: true 565 566linux-gcov: 567 extends: 568 - .stage-3 569 - .linux_test 570 tags: 571 - gce-nfs, linux-fast 572 variables: 573 TEST_ARCH: arch-ci-linux-gcov 574 after_script: 575 - make gcov 576 artifacts: 577 when: always 578 paths: 579 - ${TEST_ARCH}/lib/petsc/conf/*.log 580 - ${TEST_ARCH}/tests/testresults.xml 581 - ${TEST_ARCH}/tests/test_${TEST_ARCH}_tap.log 582 - ${TEST_ARCH}/tests/test_${TEST_ARCH}_err.log 583 - ${TEST_ARCH}/gcov.tar.gz 584 expire_in: 4 days 585 586linux-intel-cmplx: 587 extends: 588 - .stage-3 589 - .linux_test_noflags 590 tags: 591 - gce-nfs 592 variables: 593 TEST_ARCH: arch-ci-linux-intel-cmplx 594 LOAD_MODULES: intel-mkl/19.5 intel/19.0 595 596linux-xsdk-dbg: 597 extends: 598 - .stage-3 599 - .linux_test 600 tags: 601 - gce-nfs 602 variables: 603 TEST_ARCH: arch-ci-linux-xsdk-dbg 604 LOAD_MODULES: gcc/8.3.0-fjpc5ys 605 606linux-analyzer: 607 extends: 608 - .stage-3 609 - .linux_test 610 tags: 611 - gce-nfs 612 variables: 613 TEST_ARCH: arch-ci-linux-analyzer 614 615linux-intel: 616 extends: 617 - .stage-3 618 - .linux_test_noflags 619 tags: 620 - gce-nfs 621 variables: 622 TEST_ARCH: arch-ci-linux-intel 623 LOAD_MODULES: intel-mkl/19.5 intel/19.0 624 625linux-opt-misc: 626 extends: 627 - .stage-3 628 - .linux_test 629 tags: 630 - gce-nfs 631 variables: 632 TEST_ARCH: arch-ci-linux-opt-misc 633 LOAD_MODULES: gcc/6.5.0-57usejd 634 635linux-pkgs-64idx: 636 extends: 637 - .stage-3 638 - .linux_test 639 tags: 640 - gce-nfs 641 variables: 642 TEST_ARCH: arch-ci-linux-pkgs-64idx 643 LOAD_MODULES: cmake/3.15.5-fh74toq 644 645linux-64idx-i8: 646 extends: 647 - .stage-3 648 - .linux_test 649 tags: 650 - gce-nfs 651 variables: 652 TEST_ARCH: arch-ci-linux-64idx-i8 653 654linux-gcc-ifc-cmplx: 655 extends: 656 - .stage-3 657 - .linux_test 658 tags: 659 - gce-nfs 660 variables: 661 TEST_ARCH: arch-ci-linux-gcc-ifc-cmplx 662 LOAD_MODULES: intel/19.0 663 664linux-nagfor: 665 extends: 666 - .stage-3 667 - .linux_test 668 tags: 669 - mcs-nfs 670 variables: 671 TEST_ARCH: arch-ci-linux-nagfor 672 MAKE_FFLAGS: -DNO_WERROR_FLAG 673 674linux-opt-cxx-quad: 675 extends: 676 - .stage-3 677 - .linux_test 678 tags: 679 - gce-nfs 680 variables: 681 TEST_ARCH: arch-ci-linux-opt-cxx-quad 682 683linux-ILP64: 684 extends: 685 - .stage-3 686 - .linux_test 687 tags: 688 - gce-nfs 689 variables: 690 TEST_ARCH: arch-ci-linux-ILP64 691 LOAD_MODULES: gcc/6.5.0-57usejd 692 693linux-uni-pkgs: 694 extends: 695 - .stage-3 696 - .linux_test 697 tags: 698 - gce-nfs 699 variables: 700 TEST_ARCH: arch-ci-linux-uni-pkgs 701 LOAD_MODULES: llvm/9.0.0-7fyffox cmake/3.14.2-rl3q676 702 703linux-64idx-i8-uni: 704 extends: 705 - .stage-3 706 - .linux_test 707 tags: 708 - gce-nfs 709 variables: 710 TEST_ARCH: arch-ci-linux-64idx-i8-uni 711 712mswin-intel-cxx-cmplx: 713 extends: 714 - .stage-3 715 - .mswin_test 716 tags: 717 - name:ps5 718 variables: 719 TEST_ARCH: arch-ci-mswin-intel-cxx-cmplx 720 721mswin-intel: 722 extends: 723 - .stage-3 724 - .mswin_test 725 tags: 726 - name:ps5 727 variables: 728 TEST_ARCH: arch-ci-mswin-intel 729 730mswin-opt-impi: 731 extends: 732 - .stage-3 733 - .mswin_test 734 tags: 735 - name:ps4 736 variables: 737 TEST_ARCH: arch-ci-mswin-opt-impi 738 allow_failure: true 739 740opensolaris-pkgs-opt: 741 extends: 742 - .stage-3 743 - .opensolaris_test 744 tags: 745 - name:n-gage 746 variables: 747 TEST_ARCH: arch-ci-opensolaris-pkgs-opt 748 749opensolaris-cmplx-pkgs-dbg: 750 extends: 751 - .stage-3 752 - .opensolaris_test 753 tags: 754 - name:n-gage 755 variables: 756 TEST_ARCH: arch-ci-opensolaris-cmplx-pkgs-dbg 757 758opensolaris-misc: 759 extends: 760 - .stage-3 761 - .opensolaris_test 762 tags: 763 - name:n-gage 764 variables: 765 TEST_ARCH: arch-ci-opensolaris-misc 766 767osx-cxx-cmplx-pkgs-dbg: 768 extends: 769 - .stage-3 770 - .osx_test 771 tags: 772 - os:macos 773 variables: 774 TEST_ARCH: arch-ci-osx-cxx-cmplx-pkgs-dbg 775 776osx-cxx-pkgs-opt: 777 extends: 778 - .stage-3 779 - .osx_test 780 tags: 781 - os:macos, opt 782 variables: 783 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 784 TEST_ARCH: arch-ci-osx-cxx-pkgs-opt 785 MAKE_CXXFLAGS: -Werror -Wno-pass-failed 786 787osx-dbg: 788 extends: 789 - .stage-3 790 - .osx_test 791 tags: 792 - os:macos 793 variables: 794 TEST_ARCH: arch-ci-osx-dbg 795 796osx-xsdk-opt: 797 extends: 798 - .stage-3 799 - .osx_test 800 tags: 801 - os:macos, opt 802 variables: 803 TEST_ARCH: arch-ci-osx-xsdk-opt 804 805# job for analyzing the final coverage results 806analyze-pipeline: 807 extends: .test 808 stage: .post 809 image: jedbrown/mpich-ccache 810 tags: 811 - docker 812 dependencies: 813 variables: 814 PYTHON: python3 815 # Need a dummy TEST_ARCH that comes from artifacts 816 TEST_ARCH: arch-ci-linux-pkgs-gcov 817 allow_failure: true 818 before_script: 819 - date 820 script: 821 - python3 ./configure --with-mpi=0 --with-fc=0 --with-cxx=0 822# - make mergegcov LOC=$PWD 823 - ${PYTHON} lib/petsc/bin/maint/gcov.py --merge_gcov --loc=${PWD} --petsc_arch ${TEST_ARCH} 824 - ls 825 - ls arch*/* 826 artifacts: 827 name: "$CI_JOB_NAME" 828 when: always 829 paths: 830 - i*.html 831 - arch-*-gcov/* 832 expire_in: 4 days 833# 834# 835# The following tests are experimental; more tests by users at other sites may be added below this. Experimental test 836# that fail produce a warning, but do not block execution of a pipeline. 837# 838 839.test-experimental: 840 extends: .test 841 allow_failure: true 842 843