Commit c8e0b67f by Christophe Geuzaine

test variables and schedule

parent 97c98854
Pipeline #468 failed
......@@ -7,6 +7,8 @@ build_docker_linux64_gcc:
image: onelab/ubuntu16.04
tags:
- linux
except:
- schedules
script:
- mkdir build
- cd build
......@@ -19,6 +21,8 @@ build_docker_linux64_gcc_minimal:
image: onelab/ubuntu16.04
tags:
- linux
except:
- schedules
script:
- mkdir build_minimal
- cd build_minimal
......@@ -29,13 +33,18 @@ build_windows64_msvc:
stage: build
tags:
- windows
except:
- schedules
script:
- md build
- cd build
- cmake ..
- msbuild package.vcxproj
build_official_windows64_gcc:
variables:
EXTRA_VERSION="-git"
build_official_windows64_gcc: &anchor_build_official_windows64_gcc
stage: build
tags:
- windows
......@@ -43,19 +52,17 @@ build_official_windows64_gcc:
script:
- md build
- cd build
- bash -c "/usr/bin/cmake -DCMAKE_PREFIX_PATH='/usr/local/opencascade;/usr/local;/usr/x86_64-w64-mingw32/sys-root/mingw' -DCMAKE_C_COMPILER=/usr/bin/x86_64-w64-mingw32-gcc.exe -DCMAKE_CXX_COMPILER=/usr/bin/x86_64-w64-mingw32-g++.exe -DCMAKE_Fortran_COMPILER=/usr/bin/x86_64-w64-mingw32-gfortran.exe -DCMAKE_RC_COMPILER=/usr/bin/x86_64-w64-mingw32-windres.exe -DPETSC_ARCH=win64_complex_mumps_seq -DPETSC_DIR=/home/geuzaine/src/petsc-3.7.5 -DSLEPC_DIR=/home/geuzaine/src/slepc-3.7.3 .."
- bash -c "/usr/bin/make -j 2"
- echo %EXTRA_VERSION%
- bash -c "echo %EXTRA_VERSION%"
- bash -c "echo $EXTRA_VERSION"
- bash -c "/usr/bin/cmake -DGMSH_EXTRA_VERSION=$EXTRA_VERSION -DCMAKE_PREFIX_PATH='/usr/local/opencascade;/usr/local;/usr/x86_64-w64-mingw32/sys-root/mingw' -DCMAKE_C_COMPILER=/usr/bin/x86_64-w64-mingw32-gcc.exe -DCMAKE_CXX_COMPILER=/usr/bin/x86_64-w64-mingw32-g++.exe -DCMAKE_Fortran_COMPILER=/usr/bin/x86_64-w64-mingw32-gfortran.exe -DCMAKE_RC_COMPILER=/usr/bin/x86_64-w64-mingw32-windres.exe -DPETSC_ARCH=win64_complex_mumps_seq -DPETSC_DIR=/home/geuzaine/src/petsc-3.7.5 -DSLEPC_DIR=/home/geuzaine/src/slepc-3.7.3 .."
- bash -c "/usr/bin/make package -j 2"
- bash -c "/usr/bin/ctest -j 2"
- bash -c "/usr/bin/make package"
artifacts:
paths:
- build/gmsh-*.zip
deploy_official_windows64_gcc:
stage: deploy
tags:
- windows
- official
when: manual
script:
- bash -c "/usr/bin/scp -o StrictHostKeyChecking=no -i /home/geuzaine/.ssh/id_rsa build/gmsh-*.zip geuzaine@gmsh.info:.wwwgmsh/beta/"
tag_build_official_windows64_gcc:
variables:
EXTRA_VERSION: ""
only:
- tags
<<: *anchor_build_official_windows64_gcc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment