You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

appveyor.yml 1.9 kB

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. version: 0.2.19.{build}
  2. #environment:
  3. platform:
  4. - x64
  5. os: Visual Studio 2017
  6. configuration: Release
  7. clone_folder: c:\projects\OpenBLAS
  8. init:
  9. - git config --global core.autocrlf input
  10. clone_depth: 5
  11. skip_tags: true
  12. matrix:
  13. fast_finish: false
  14. skip_commits:
  15. # Add [av skip] to commit messages
  16. message: /\[av skip\]/
  17. environment:
  18. global:
  19. CONDA_INSTALL_LOCN: C:\\Miniconda36-x64
  20. matrix:
  21. - COMPILER: clang-cl
  22. WITH_FORTRAN: yes
  23. - COMPILER: clang-cl
  24. DYNAMIC_ARCH: ON
  25. WITH_FORTRAN: no
  26. - COMPILER: cl
  27. install:
  28. - if [%COMPILER%]==[clang-cl] call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
  29. - if [%COMPILER%]==[clang-cl] conda config --add channels conda-forge --force
  30. - if [%COMPILER%]==[clang-cl] conda install --yes --quiet clangdev cmake
  31. - if [%WITH_FORTRAN%]==[no] conda install --yes --quiet ninja
  32. - if [%WITH_FORTRAN%]==[yes] conda install --yes --quiet -c isuruf kitware-ninja
  33. - if [%WITH_FORTRAN%]==[yes] conda install --yes --quiet flang
  34. - if [%COMPILER%]==[clang-cl] call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
  35. - if [%COMPILER%]==[clang-cl] set "LIB=%CONDA_INSTALL_LOCN%\Library\lib;%LIB%"
  36. - if [%COMPILER%]==[clang-cl] set "CPATH=%CONDA_INSTALL_LOCN%\Library\include;%CPATH%"
  37. before_build:
  38. - ps: if (-Not (Test-Path .\build)) { mkdir build }
  39. - cd build
  40. - if [%COMPILER%]==[cl] cmake -G "Visual Studio 15 2017 Win64" ..
  41. - if [%WITH_FORTRAN%]==[no] cmake -G "Ninja" -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_C_COMPILER=clang-cl ..
  42. - if [%WITH_FORTRAN%]==[yes] cmake -G "Ninja" -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_C_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DBUILD_WITHOUT_LAPACK=no -DNOFORTRAN=0 ..
  43. - if [%DYNAMIC_ARCH%]==[ON] cmake -DDYNAMIC_ARCH=ON ..
  44. build_script:
  45. - cmake --build .
  46. test_script:
  47. - echo Running Test
  48. - cd utest
  49. - openblas_utest