summaryrefslogtreecommitdiff
path: root/.appveyor.yml
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2019-09-10 15:38:54 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2019-09-10 15:38:54 +0900
commit18ebbaf4f619e79231f5ad18a2ab8c135d22ef56 (patch)
treec486aa0883b10e1633d04530150251f19a56db9a /.appveyor.yml
parentf078975d65d0cace665590f3cf60025e6f2c7a0a (diff)
downloadlibsolv-18ebbaf4f619e79231f5ad18a2ab8c135d22ef56.tar.gz
libsolv-18ebbaf4f619e79231f5ad18a2ab8c135d22ef56.tar.bz2
libsolv-18ebbaf4f619e79231f5ad18a2ab8c135d22ef56.zip
Imported Upstream version 0.7.5upstream/0.7.5
Diffstat (limited to '.appveyor.yml')
-rw-r--r--.appveyor.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
new file mode 100644
index 0000000..2b91665
--- /dev/null
+++ b/.appveyor.yml
@@ -0,0 +1,34 @@
+build: false
+
+platform:
+ - x64
+
+image:
+ - Visual Studio 2017
+
+environment:
+ matrix:
+ - MINICONDA: C:\libsolv-conda
+
+init:
+ - "ECHO %MINICONDA%"
+ - if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" set VCVARPATH="C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
+ - if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" set VCARGUMENT=%PLATFORM%
+ - if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" set VCVARPATH="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
+ - echo "%VCVARPATH% %VCARGUMENT%"
+ - "%VCVARPATH% %VCARGUMENT%"
+ - ps: if($env:Platform -eq "x64"){Start-FileDownload 'http://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86_64.exe' C:\Miniconda.exe; echo "Done"}
+ - ps: if($env:Platform -eq "x86"){Start-FileDownload 'http://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86.exe' C:\Miniconda.exe; echo "Done"}
+ - cmd: C:\Miniconda.exe /S /D=C:\libsolv-conda
+ - "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%MINICONDA%\\Library\\bin;%PATH%"
+
+install:
+ - conda config --set always_yes yes --set changeps1 no
+ - conda update -q conda
+ - conda info -a
+ - conda install cmake zlib xz -c conda-forge
+ - cmake -G "NMake Makefiles" -D CMAKE_INSTALL_PREFIX=%MINICONDA%\\LIBRARY -DDISABLE_SHARED=1 -DWITHOUT_COOKIEOPEN=1 -DMULTI_SEMANTICS=1 -DENABLE_COMPLEX_DEPS=1 -DENABLE_EXAMPLES=0 .
+ - nmake
+
+build_script:
+ - ctest