forked from mratsim/Arraymancer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
57 lines (44 loc) · 1.85 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
46
47
48
49
50
51
52
53
54
55
56
57
version: '{build}'
matrix:
fast_finish: true
environment:
matrix:
- NIM_ARCHIVE: nim-1.0.6_x64.zip
NIM_DIR: nim-1.0.6
NIM_URL: https://nim-lang.org/download/nim-1.0.6_x64.zip
MINGW_PATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin
LAPACK_URL: http://icl.cs.utk.edu/lapack-for-windows/libraries/VisualStudio/3.7.0/Dynamic-MINGW/Win64/liblapack.dll
BLAS_PLATFORM: x64
platform: x64
- NIM_ARCHIVE: nim-1.0.6_x32.zip
NIM_DIR: nim-1.0.6
NIM_URL: https://nim-lang.org/download/nim-1.0.6_x32.zip
MINGW_PATH: C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32\bin
LAPACK_URL: http://icl.cs.utk.edu/lapack-for-windows/libraries/VisualStudio/3.7.0/Dynamic-MINGW/Win32/liblapack.dll
BLAS_PLATFORM: win32
platform: x86
cache:
- '%NIM_ARCHIVE% -> .appveyor.yml'
- '%USERPROFILE%\.nuget\packages -> .appveyor.yml'
install:
# use the newest versions documented here: https://www.appveyor.com/docs/windows-images-software/#mingw-msys-cygwin
- SET PATH=%MINGW_PATH%;%PATH%
# Install Nim
- MKDIR %CD%\tools_tmp
- IF not exist "%NIM_ARCHIVE%" appveyor DownloadFile "%NIM_URL%" -FileName "%NIM_ARCHIVE%"
- 7z x -y "%NIM_ARCHIVE%" -o"%CD%\tools_tmp"> nul
- SET PATH=%CD%\tools_tmp\%NIM_DIR%\bin;%PATH%
# Additional libraries
- MKDIR %CD%\dlls
- SET PATH=%PATH%;%CD%\dlls
- nuget install OpenBLAS -o "%APPVEYOR_BUILD_FOLDER%"
- copy OpenBLAS.0.2.14.1\lib\native\bin\%BLAS_PLATFORM%\libopenblas.dll dlls\blas.dll
- nuget install zlib-msvc14-%PLATFORM% -o "%APPVEYOR_BUILD_FOLDER%"
- copy zlib-msvc14-%PLATFORM%.1.2.11.7795\build\native\bin_release\zlib.dll dlls\zlib1.dll
# TODO Does not work "could not load: lapack.dll "
# - appveyor DownloadFile %LAPACK_URL% dlls\lapack.dll
build_script:
- nimble.exe install -y
test_script:
- nimble.exe test_no_lapack
deploy: off