You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
897 B
36 lines
897 B
image:
|
|
- Visual Studio 2017
|
|
|
|
configuration: Release
|
|
clone_depth: 3
|
|
|
|
matrix:
|
|
fast_finish: false
|
|
|
|
skip_commits:
|
|
# Add [av skip] to commit messages
|
|
message: /\[av skip\]/
|
|
|
|
environment:
|
|
global:
|
|
CONDA_INSTALL_LOCN: C:\\Miniconda37-x64
|
|
CTEST_OUTPUT_ON_FAILURE: 1
|
|
|
|
install:
|
|
- call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
|
|
# - conda config --set auto_update_conda false
|
|
- conda install -c conda-forge --yes --quiet flang jom
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
|
|
- set "LIB=%CONDA_INSTALL_LOCN%\Library\lib;%LIB%"
|
|
- set "CPATH=%CONDA_INSTALL_LOCN%\Library\include;%CPATH%"
|
|
|
|
before_build:
|
|
- ps: if (-Not (Test-Path .\build)) { mkdir build }
|
|
- cd build
|
|
- cmake -G "NMake Makefiles JOM" -DCMAKE_Fortran_COMPILER=flang -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON ..
|
|
|
|
build_script:
|
|
- cmake --build .
|
|
|
|
test_script:
|
|
- ctest -j2
|
|
|