Test clang in appveyor.yml
This commit is contained in:
parent
ea1095135e
commit
b03d50b794
21
appveyor.yml
21
appveyor.yml
|
@ -12,9 +12,6 @@ clone_folder: c:\projects\OpenBLAS
|
||||||
init:
|
init:
|
||||||
- git config --global core.autocrlf input
|
- git config --global core.autocrlf input
|
||||||
|
|
||||||
build:
|
|
||||||
project: OpenBLAS.sln
|
|
||||||
|
|
||||||
clone_depth: 5
|
clone_depth: 5
|
||||||
|
|
||||||
#branches to build
|
#branches to build
|
||||||
|
@ -27,16 +24,30 @@ branches:
|
||||||
skip_tags: true
|
skip_tags: true
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: false
|
||||||
|
|
||||||
skip_commits:
|
skip_commits:
|
||||||
# Add [av skip] to commit messages
|
# Add [av skip] to commit messages
|
||||||
message: /\[av skip\]/
|
message: /\[av skip\]/
|
||||||
|
|
||||||
|
environment:
|
||||||
|
matrix:
|
||||||
|
- COMPILER: cl
|
||||||
|
- COMPILER: clang-cl
|
||||||
|
|
||||||
|
install:
|
||||||
|
- if [%COMPILER%]==[clang-cl] call C:\Miniconda36-x64\Scripts\activate.bat
|
||||||
|
- if [%COMPILER%]==[clang-cl] conda config --add channels conda-forge --force
|
||||||
|
- if [%COMPILER%]==[clang-cl] conda install clangdev ninja cmake
|
||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
- echo Running cmake...
|
- echo Running cmake...
|
||||||
- cd c:\projects\OpenBLAS
|
- cd c:\projects\OpenBLAS
|
||||||
- cmake -G "Visual Studio 12 Win64" .
|
- if [%COMPILER%]==[cl] cmake -G "Visual Studio 12 Win64" .
|
||||||
|
- if [%COMPILER%]==[clang-cl] cmake -G "Ninja" -DCMAKE_CXX_COMPILER_ID=clang-cl -DCMAKE_C_COMPILER_ID=clang-cl .
|
||||||
|
|
||||||
|
build:
|
||||||
|
- cmake --build .
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- echo Running Test
|
- echo Running Test
|
||||||
|
|
Loading…
Reference in New Issue