Replace vpermpd with vpermilpd
[platform/upstream/openblas.git] / appveyor.yml
1 version: 0.2.19.{build}
2
3 #environment:
4
5 platform: 
6   - x64
7
8 os: Visual Studio 2017
9
10 configuration: Release
11
12 clone_folder: c:\projects\OpenBLAS
13
14 init:
15   - git config --global core.autocrlf input
16
17 clone_depth: 5
18
19 skip_tags: true
20
21 matrix:
22   fast_finish: false
23
24 skip_commits:
25 # Add [av skip] to commit messages
26   message: /\[av skip\]/
27
28 environment:
29   global:
30     CONDA_INSTALL_LOCN: C:\\Miniconda36-x64
31   matrix:
32     - COMPILER: clang-cl
33       WITH_FORTRAN: yes
34     - COMPILER: clang-cl
35       DYNAMIC_ARCH: ON
36       WITH_FORTRAN: no
37     - COMPILER: cl
38
39 install:
40   - if [%COMPILER%]==[clang-cl] call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
41   - if [%COMPILER%]==[clang-cl] conda config --add channels conda-forge --force
42   - if [%COMPILER%]==[clang-cl] conda install --yes --quiet clangdev cmake
43
44   - if [%WITH_FORTRAN%]==[no] conda install --yes --quiet ninja
45   - if [%WITH_FORTRAN%]==[yes] conda install --yes --quiet -c isuruf kitware-ninja
46   - if [%WITH_FORTRAN%]==[yes] conda install --yes --quiet flang
47
48   - if [%COMPILER%]==[clang-cl] call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
49   - if [%COMPILER%]==[clang-cl] set "LIB=%CONDA_INSTALL_LOCN%\Library\lib;%LIB%"
50   - if [%COMPILER%]==[clang-cl] set "CPATH=%CONDA_INSTALL_LOCN%\Library\include;%CPATH%"
51
52 before_build:
53   - ps: if (-Not (Test-Path .\build)) { mkdir build }
54   - cd build
55   - if [%COMPILER%]==[cl] cmake -G "Visual Studio 15 2017 Win64" ..
56   - if [%WITH_FORTRAN%]==[no] cmake -G "Ninja" -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_C_COMPILER=clang-cl -DMSVC_STATIC_CRT=ON ..
57   - 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 ..
58   - if [%DYNAMIC_ARCH%]==[ON] cmake -DDYNAMIC_ARCH=ON -DDYNAMIC_LIST='CORE2;NEHALEM;SANDYBRIDGE;BULLDOZER;HASWELL' ..
59
60 build_script:
61   - cmake --build .
62
63 test_script:
64   - echo Running Test
65   - cd utest
66   - openblas_utest