diff options
author | langou <julien.langou@ucdenver.edu> | 2017-02-21 19:59:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-21 19:59:30 +0100 |
commit | d13744101e9eea94c4eafc8dd2dd7534630cb0f7 (patch) | |
tree | 8836387d64d77b6f1348625b06f1a4663790d90c | |
parent | 87e7cf7914b7175949a59ef56d1d593703de38bf (diff) | |
parent | 8624dfa407b3e5e18d0ad43032530b23f278c0da (diff) | |
download | lapack-d13744101e9eea94c4eafc8dd2dd7534630cb0f7.tar.gz lapack-d13744101e9eea94c4eafc8dd2dd7534630cb0f7.tar.bz2 lapack-d13744101e9eea94c4eafc8dd2dd7534630cb0f7.zip |
Merge pull request #126 from Gjacquenot/master
Added Appveyor CI with MinGW for Windows
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | appveyor.yml | 64 |
2 files changed, 65 insertions, 0 deletions
@@ -1,6 +1,7 @@ # LAPACK [![Build Status](https://travis-ci.org/Reference-LAPACK/lapack.svg?branch=master)](https://travis-ci.org/Reference-LAPACK/lapack) +[![Appveyor](https://ci.appveyor.com/api/projects/status/bh38iin398msrbtr?svg=true)](https://ci.appveyor.com/project/Gjacquenot/lapack/branch/master) * VERSION 1.0 : February 29, 1992 * VERSION 1.0a : June 30, 1992 diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..7fc3fbdd --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,64 @@ +# Windows testing. +# Syntax for this file: +# http://www.appveyor.com/docs/appveyor-yml + +shallow_clone: true + +platform: x64 + +cache: + - x86_64-4.9.2-release-win32-seh-rt_v4-rev4.7z + - i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z + +environment: + CTEST_OUTPUT_ON_FAILURE: 1 + matrix: + - MINGW_DIR: mingw64 + MINGW_URL: https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.2/threads-win32/seh/x86_64-4.9.2-release-win32-seh-rt_v4-rev4.7z/download + MINGW_ARCHIVE: x86_64-4.9.2-release-win32-seh-rt_v4-rev4.7z + - MINGW_DIR: mingw32 + MINGW_URL: https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/4.9.2/threads-win32/dwarf/i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z/download + MINGW_ARCHIVE: i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z + +install: + - if not exist "%MINGW_ARCHIVE%" appveyor DownloadFile "%MINGW_URL%" -FileName "%MINGW_ARCHIVE%" + - 7z x -y "%MINGW_ARCHIVE%" > nul + # CMake refuses to generate MinGW Makefiles if sh.exe is in the Path + - ps: Get-Command sh.exe -All | Remove-Item + +build_script: + - echo "NUMBER_OF_PROCESSORS=%NUMBER_OF_PROCESSORS%" + - set PATH=%CD%\%MINGW_DIR%\bin;%PATH% + - g++ --version + - mingw32-make --version + - cmake --version + - if "%APPVEYOR_REPO_TAG%"=="true" (set CMAKE_BUILD_TYPE=Release) else (set CMAKE_BUILD_TYPE=Debug) + - set SRC_DIR=%CD% + - echo %SRC_DIR% + - set BLD_DIR=%SRC_DIR%\..\lapack-appveyor-bld + - set INST_DIR=%SRC_DIR%\..\lapack-appveyor-install + - mkdir -p %BLD_DIR% + - cd %BLD_DIR% + # See issue #17 on github dashboard. Once resolved, use -DCBLAS=ON + # - cmake -DCMAKE_INSTALL_PREFIX=${INST_DIR} -DLAPACKE=ON ${SRC_DIR} + - cmake + -G "MinGW Makefiles" + -DBUILDNAME:STRING="appveyor-%MINGW_DIR%-%APPVEYOR_REPO_BRANCH%" + -DCMAKE_BUILD_TYPE=%CMAKE_BUILD_TYPE% + -DCMAKE_INSTALL_PREFIX=%INST_DIR% + -DCBLAS:BOOL=ON + -DLAPACKE:BOOL=ON + -DBUILD_TESTING=ON + -DLAPACKE_WITH_TMG:BOOL=ON + %SRC_DIR% + - mingw32-make -j%NUMBER_OF_PROCESSORS% + +test_script: + - ctest -D ExperimentalStart + - ctest -D ExperimentalConfigure + - ctest -D ExperimentalBuild -j%NUMBER_OF_PROCESSORS% + - ctest -D ExperimentalTest --schedule-random -j%NUMBER_OF_PROCESSORS% --output-on-failure --timeout 100 -E "CBLAS\-.*cblat1" + - ctest -D ExperimentalSubmit + +after_test: + - mingw32-make install -j%NUMBER_OF_PROCESSORS% |