forked from mitsuba-renderer/mitsuba2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
45 lines (45 loc) · 3.71 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: 1.0.{build}
image:
- Visual Studio 2019
test: off
skip_branch_with_pr: true
platform:
- x64
build:
parallel: true
#cache:
#- C:\Miniconda-x64\pkgs
#- C:\Miniconda36-x64\pkgs
environment:
matrix:
- PYTHON_VERSION: 2.7
MINICONDA: C:\Miniconda-x64
BUILD_MODE: Debug
- PYTHON_VERSION: 3.5
MINICONDA: C:\Miniconda35-x64
BUILD_MODE: Release
fast_finish: true
priv_key:
secure: 8caryt4026owBySRMhbNaz39xtgxjbaDK/T0m7J6KWZ1bpQxAlCjNQ+kscV2EWKLuI73WF9fJJBBoXw5diNsaGHOYqpOS/6UGKV25HJkPwIlRY4KVbMzORxvUgzRnf3UBTlCc8Fywfg+nZvQ8cqtNI2Ei+WUiGzpmjtqIhKgwfNpJikHVH8MuRP3W45IL7WkIASORAa/R9rKOiJPMcTO/r6rrIh4Bb1ky/4A7avaK2wAYjhUhVjd5BvwvDMhjcd6J8oXCc4w8XX33Wg60+BNYszcn3rXn2Kz9E8GzBZPgucUWPlF6BDxpzg1HrUMFkbHkLjlc47b22JpbJZnNEPRSbXDigY132HaJ2QuOJBU5ENqLfdLYmGs/6ojJIK1qvBwpsL5MmOZcmV1scsVejl3+KiU08szQUsWJCLNWh3UPPMeZrzoNqscILMEjNqR6P8XhxFiE1wkLjoWaq3AyootOcJjosHRqTgFDXrXJ0I5C3dUXuWDvCGKqTR4RGCQiFj/y3UbopgeGfhmZQ8BJaKtqZ5XXaGLjf7bbPzjxChfQGkcwmWJpjJYGT5J+9xkxF39eYIcXFnbvRrhqXdx6SeiXdHJm2f+FE6Tuty/ZQ12yPHC5Jxv4OWdoY0q+8RnF3Z3+7W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xNDNn0+zCex1P64smBSmksZiQqpKqhTv+rCaLLox2S6Zpd29P8kG7CPIzrMCif/Z8mmYxaNayaKB6U35O2Vbt1r9MDh0JwBzS0kK6fuuc1hZi33t9QH/MPAtRKXGRbzEJqoHZ//9JkFc3DAGI5ZaVCRQ+bAGQu6lc1CPWWycPfZNJs50eBSUZI2EmAPPOKGB/zA731cZm89KdR4GWlUD4ZSiu6WSQ0EspBEd9tYJ0me/Zpz/Uwe5/Wl/yDWtmiVMorrqwpkpOAutCjQZSs5H6tz02RgBU0948PA404k6GHt2nNcJTFPGVH7jK+5JIZV+IszIBdPCArQ1kvZZEkR0pVObijTMhvIsWYUzfcyw7sHjYybK5nxfi2m6UrzgU9247+ilF0ckP/b9HdOvyiKJPYmAPfpmccP9zd4hQ3Bh7yOulsNw2hx2mjEX6sq2OcT5
install:
- ps: |
$fileContent = "-----BEGIN RSA PRIVATE KEY-----`n"
$fileContent += $env:priv_key.Replace(' ', "`n")
$fileContent += "`n-----END RSA PRIVATE KEY-----`n"
Set-Content c:\users\appveyor\.ssh\id_rsa $fileContent
(Get-Content .gitmodules).replace('https://github.com/mitsuba-renderer/enoki', '[email protected]:mitsuba-renderer/enoki.git') | Set-Content .gitmodules
git submodule -q update --init
(Get-Content ext/nanogui/.gitmodules).replace('https://github.com/mitsuba-renderer/enoki', '[email protected]:mitsuba-renderer/enoki.git') | Set-Content ext/nanogui/.gitmodules
git submodule -q update --init --recursive
- ps: |
$env:PATH = "$env:MINICONDA;$env:MINICONDA\Scripts;$env:PATH"
$env:PYTHONHOME = "$env:MINICONDA"
conda update -y -q conda
conda install -y -q pytest numpy scipy
build_script:
- set PATH = "%MINICONDA%;%MINICONDA%\Scripts;%PATH%"
- cmake -G "Visual Studio 16 2019" -A "x64" -DCMAKE_SUPPRESS_REGENERATION=1 .
- set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- cmake --build . --config %BUILD_MODE% -- /v:m /m /logger:%MSBuildLogger%
- setpath.bat
- python -m pytest -v