No strncasecmp with MSVC
[platform/upstream/openblas.git] / appveyor.yml
1 version: 0.2.19.{build}
2
3 #environment:
4
5 platform: 
6   - x64
7
8 configuration: Release
9
10 clone_folder: c:\projects\OpenBLAS
11
12 init:
13   - git config --global core.autocrlf input
14
15 clone_depth: 5
16
17 skip_tags: true
18
19 matrix:
20   fast_finish: false
21
22 skip_commits:
23 # Add [av skip] to commit messages
24   message: /\[av skip\]/
25
26 environment:
27   matrix:
28     - COMPILER: clang-cl
29       DYNAMIC_ARCH: ON
30     - COMPILER: clang-cl
31     - COMPILER: cl
32
33 install:
34   - if [%COMPILER%]==[clang-cl] call C:\Miniconda36-x64\Scripts\activate.bat
35   - if [%COMPILER%]==[clang-cl] conda config --add channels conda-forge --force
36   - if [%COMPILER%]==[clang-cl] conda install --yes clangdev ninja cmake
37   - if [%COMPILER%]==[clang-cl] call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
38
39 before_build:
40   - echo Running cmake...
41   - cd c:\projects\OpenBLAS
42   - if [%COMPILER%]==[cl] cmake -G "Visual Studio 12 Win64" .
43   - if [%COMPILER%]==[clang-cl] cmake -G "Ninja" -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_C_COMPILER=clang-cl .
44   - if [%DYNAMIC_ARCH%]==[ON] cmake -DDYNAMIC_ARCH=ON .
45
46 build_script:
47   - cmake --build .
48
49 test_script:
50   - echo Running Test
51   - cd c:\projects\OpenBLAS\utest
52   - openblas_utest