Skip to content
Snippets Groups Projects
Commit 6039546f authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

nightly builds; only static and on 64 bit machines

parent eb891fe5
No related branches found
No related tags found
No related merge requests found
# Gmsh - Copyright (C) 1997-2017 C. Geuzaine, J.-F. Remacle
#
# See the LICENSE.txt file for license information. Please report all
# bugs and problems to the public mailing list <gmsh@onelab.info>.
set(CTEST_CMAKE_COMMAND "/usr/bin/cmake")
set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
set(WEB_BIN "geuzaine@onelab.info:/home/www/gmsh.info/bin/Linux")
set(WITH_TEST TRUE) # run the tests?
set(WITH_COVERAGE FALSE) # check code coverage?
set(WITH_MEMCHECK FALSE) # check memory with valgrind?
#################################################################################
set(CTEST_BUILD_NAME "Linux32")
set(CTEST_BINARY_DIRECTORY "$ENV{HOME}/src/gmsh/bin")
set(OPT "-DGMSH_EXTRA_VERSION=${EXTRA_VERSION}")
set(OPT "${OPT} -DCMAKE_PREFIX_PATH:path=/usr/local/opencascade;/usr/local")
set(OPT "${OPT} -DENABLE_NATIVE_FILE_CHOOSER:bool=FALSE")
set(OPT "${OPT} -DPETSC_ARCH=linux_complex_mumps_seq")
set(OPT "${OPT} -DPETSC_DIR=$ENV{HOME}/src/petsc-3.5.2")
set(OPT "${OPT} -DSLEPC_DIR=$ENV{HOME}/src/slepc-3.5.2")
set(CTEST_BUILD_OPTIONS ${OPT})
include(gmsh.ctest)
upload_package(${WEB_BIN} Linux 32 .tar.gz .tgz)
#
# this will launch a new build every night at 1h01
#
1 1 * * * cd ${HOME}/src/gmsh/utils/nightly && /usr/bin/ctest -S gmsh_linux32_nightly.ctest -VV > ${HOME}/src/gmsh/nightly.log 2>&1
# Gmsh - Copyright (C) 1997-2017 C. Geuzaine, J.-F. Remacle
#
# See the LICENSE.txt file for license information. Please report all
# bugs and problems to the public mailing list <gmsh@onelab.info>.
set(CTEST_NIGHTLY_START_TIME "22:00:00 UTC")
set(CDASH_MODEL "Nightly")
set(EXTRA_VERSION "-git")
include(gmsh_linux32.ctest)
# Gmsh - Copyright (C) 1997-2017 C. Geuzaine, J.-F. Remacle
#
# See the LICENSE.txt file for license information. Please report all
# bugs and problems to the public mailing list <gmsh@onelab.info>.
set(EXTRA_VERSION "-git")
include(gmsh_linux32.ctest)
# Gmsh - Copyright (C) 1997-2017 C. Geuzaine, J.-F. Remacle
#
# See the LICENSE.txt file for license information. Please report all
# bugs and problems to the public mailing list <gmsh@onelab.info>.
set(CTEST_CMAKE_COMMAND "cmake")
set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
set(WEB_BIN "geuzaine@onelab.info:/home/www/gmsh.info/bin/Windows")
set(WITH_TEST FALSE) # run the tests? - disable this for now: slow on virtual machine
set(WITH_COVERAGE FALSE) # check code coverage?
set(WITH_MEMCHECK FALSE) # check memory with valgrind?
# Before you can configure Gmsh on cygwin with the mingw compilers, you need to
# fix cmake 2.8.9's FindOpenGL.cmake module, by replacing if(WIN32 OR CYGWIN) by
# if(WIN32) on line 49
#
# With mingw gcc 4.7 (we currently use gcc 4.5 on ace36), you should
# 1) add -DCMAKE_RC_COMPILER=/usr/bin/i686-w64-mingw32-windres.exe
# 2) remove -mno-cygwin from FLTK's configure script: gcc 4.7 does not accept
# it anymore
#################################################################################
set(CTEST_BUILD_NAME "Win32")
set(CTEST_BINARY_DIRECTORY "$ENV{HOME}/src/gmsh/bin")
set(OPT "-DGMSH_EXTRA_VERSION=${EXTRA_VERSION}")
set(OPT "${OPT} -DCMAKE_PREFIX_PATH:path=/usr/local/opencascade;/usr/local;/usr/i686-w64-mingw32/sys-root/mingw")
set(OPT "${OPT} -DCMAKE_C_COMPILER=/usr/bin/i686-w64-mingw32-gcc.exe")
set(OPT "${OPT} -DCMAKE_CXX_COMPILER=/usr/bin/i686-w64-mingw32-g++.exe")
set(OPT "${OPT} -DCMAKE_Fortran_COMPILER=/usr/bin/i686-w64-mingw32-gfortran.exe")
set(OPT "${OPT} -DPETSC_ARCH=win32_complex_mumps_seq")
set(OPT "${OPT} -DPETSC_DIR=$ENV{HOME}/src/petsc-3.5.2")
set(OPT "${OPT} -DSLEPC_DIR=$ENV{HOME}/src/slepc-3.5.2")
set(CTEST_BUILD_OPTIONS ${OPT})
include(gmsh.ctest)
upload_package(${WEB_BIN} Windows 32 .zip .zip)
@echo off
C:
chdir C:\cygwin\bin
bash --login -c "cd ${HOME}/src/gmsh/utils/nightly && ctest -S gmsh_win32_nightly.ctest -VV > ${HOME}/src/gmsh/nightly.log 2>&1"
# Gmsh - Copyright (C) 1997-2017 C. Geuzaine, J.-F. Remacle
#
# See the LICENSE.txt file for license information. Please report all
# bugs and problems to the public mailing list <gmsh@onelab.info>.
set(CTEST_NIGHTLY_START_TIME "22:00:00 UTC")
set(CDASH_MODEL "Nightly")
set(EXTRA_VERSION "-git")
include(gmsh_win32.ctest)
# Gmsh - Copyright (C) 1997-2017 C. Geuzaine, J.-F. Remacle
#
# See the LICENSE.txt file for license information. Please report all
# bugs and problems to the public mailing list <gmsh@onelab.info>.
set(EXTRA_VERSION "-git")
include(gmsh_win32.ctest)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment