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

new win32 test machine

parent 5538dd38
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 "cmake")
set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
set(WEB_BIN "geuzaine@onelab.info:/home/www/gmsh.info/bin/Windows")
set(WITH_TEST TRUE) # run the tests?
set(WITH_COVERAGE FALSE) # check code coverage?
set(WITH_MEMCHECK FALSE) # check memory with valgrind?
#################################################################################
if(BUILD_DYNAMIC)
set(CTEST_BUILD_NAME "Win32-dynamic")
set(CTEST_BINARY_DIRECTORY "$ENV{HOME}/src/gmsh/bin_dynamic")
else(BUILD_DYNAMIC)
set(CTEST_BUILD_NAME "Win32")
set(CTEST_BINARY_DIRECTORY "$ENV{HOME}/src/gmsh/bin")
endif(BUILD_DYNAMIC)
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} -DCMAKE_RC_COMPILER=/usr/bin/i686-w64-mingw32-windres.exe")
set(OPT "${OPT} -DPETSC_ARCH=complex_mumps_seq")
set(OPT "${OPT} -DPETSC_DIR=$ENV{HOME}/src/petsc-3.7.5")
set(OPT "${OPT} -DSLEPC_DIR=$ENV{HOME}/src/slepc-3.7.3")
if(BUILD_DYNAMIC)
set(OPT "${OPT} -DENABLE_BUILD_DYNAMIC=1")
endif(BUILD_DYNAMIC)
set(CTEST_BUILD_OPTIONS ${OPT})
include(gmsh.ctest)
if(BUILD_DYNAMIC)
upload_package(${WEB_BIN} Windows 32-dynamic .zip .zip)
else(BUILD_DYNAMIC)
upload_package(${WEB_BIN} Windows 32 .zip .zip)
endif(BUILD_DYNAMIC)
@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