1stages: 2 - test 3 - test-long 4 - ci-status 5variables: 6 GIT_STRATEGY: fetch 7 GIT_CLEAN_FLAGS: -ffdxq 8 PETSC_OPTIONS: -check_pointer_intensity 0 -error_output_stdout -nox -nox_warning -malloc_dump 9 10.test: 11 stage: test 12 image: jedbrown/mpich 13 variables: 14 GIT_DEPTH: 1 15 before_script: 16 - echo nproc=$(nproc) 17 - cat /proc/cpuinfo 18 script: 19 - ${PYTHON} ./configure --with-debugging=0 COPTFLAGS='-O -march=native' CXXOPTFLAGS='-O -march=native' FOPTFLAGS='-O -march=native' ${CONFIG_OPTS} 20 - make -j$(nproc) -l$(nproc) 21 - make -j$(nproc) -l$(nproc) -f gmakefile.test PETSC_DIR=$PWD test search="${TEST_SEARCH}" 22 23mpich-cxx-py3: 24 extends: .test 25 variables: 26 PYTHON: python3 27 CONFIG_OPTS: --with-mpi-dir=/usr/local --with-clanguage=cxx --with-fc=0 28 TEST_SEARCH: snes_tutorials-ex48% 29 30uni-complex-float-int64: 31 extends: .test 32 variables: 33 PYTHON: python3 34 CONFIG_OPTS: < 35 --with-mpi=0 36 --with-scalar-type=complex --with-precision=single --with-64-bit-indices 37 TEST_SEARCH: ts_tutorials-ex11_adv_2d_quad_% 38 39c89-mlib-static-py2: 40 extends: .test 41 variables: 42 PYTHON: python3 43 CONFIG_OPTS: < 44 --with-mpi-dir=/usr/local 45 --with-single-library=0 --with-shared-libraries=0 'CFLAGS=-std=c89 -pedantic -Wno-long-long -Wno-overlength-strings' 46 TEST_SEARCH: snes_tutorials-ex48% 47 48 49.mcs_test: 50 stage: test-long 51 script: 52 - git config user.email "petsc@gitlab.none" 53 - git config user.name "petsc gitlab-ci" 54 - git fetch origin master 55 - git merge -m "test" FETCH_HEAD 56 - ./config/examples/${TEST_ARCH}.py 57 - make 58 - make check 59 - make cleantest allgtests-tap TIMEOUT=300 60 61.linux_mcs_test: 62 extends: .mcs_test 63 tags: 64 - mcs-linux 65 before_script: 66 - hostname 67 - grep PRETTY_NAME /etc/os-release 68 - echo $(nproc) 69 70.freebsd_mcs_test: 71 extends: .mcs_test 72 tags: 73 - mcs-freebsd 74 before_script: 75 - hostname 76 - freebsd-version 77 - echo $(sysctl -n hw.ncpu) 78 79.osx_mcs_test: 80 extends: .mcs_test 81 tags: 82 - mcs-osx 83 variables: 84 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 85 before_script: 86 - hostname 87 - sw_vers -productVersion 88 - echo $(sysctl -n hw.ncpu) 89 90.opensolaris_mcs_test: 91 extends: .mcs_test 92 tags: 93 - mcs-opensolaris 94 before_script: 95 - hostname 96 - uname -a 97 - echo $(nproc) 98 99linux-gcc-complex-opt: 100 extends: .linux_mcs_test 101 variables: 102 TEST_ARCH: arch-jenkins-linux-gcc-complex-opt 103 104linux-gcc-pkgs-opt: 105 extends: .linux_mcs_test 106 variables: 107 TEST_ARCH: arch-jenkins-linux-gcc-pkgs-opt 108 109linux-gcc-quad-64idx-dbg: 110 extends: .linux_mcs_test 111 variables: 112 TEST_ARCH: arch-jenkins-linux-gcc-quad-64idx-dbg 113 114freebsd-c-single-opt: 115 extends: .freebsd_mcs_test 116 variables: 117 TEST_ARCH: arch-jenkins-freebsd-c-single-opt 118 119freebsd-cxx-cmplx-64idx-dbg: 120 extends: .freebsd_mcs_test 121 variables: 122 TEST_ARCH: arch-jenkins-freebsd-cxx-cmplx-64idx-dbg 123 124osx-cxx-pkgs-opt: 125 extends: .osx_mcs_test 126 variables: 127 TEST_ARCH: arch-jenkins-osx-cxx-pkgs-opt 128 129opensolaris-cmplx-pkgs-dbg: 130 extends: .opensolaris_mcs_test 131 variables: 132 TEST_ARCH: arch-jenkins-opensolaris-cmplx-pkgs-dbg 133 134.status: 135 stage: ci-status 136 image: jedbrown/alpine-curl 137 script: 138 - BUILD_KEY=push BITBUCKET_NAMESPACE=petsc ./.gitlab-build-status.sh 139 140success: 141 extends: .status 142 variables: 143 BUILD_STATUS: passed 144 when: on_success 145 146failure: 147 extends: .status 148 variables: 149 BUILD_STATUS: failed 150 when: on_failure 151