This repository has been archived by the owner on Jun 19, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
41 lines (41 loc) · 1.53 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
environment:
matrix:
- ARCH: "i686"
JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe"
- ARCH: "x86_64"
JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
branches:
only:
- master
skip_commits:
message: /\[av skip\]/
notifications:
- provider: Email
on_build_success: false
on_build_failure: false
on_build_status_changed: false
shallow_clone: true
clone_depth: 5
init:
- git config --global core.autocrlf input
- ps: "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
install:
- appveyor DownloadFile https://cygwin.com/setup-x86_64.exe -FileName C:\projects\cygwin-setup-x86_64.exe
- C:\projects\cygwin-setup-x86_64.exe -q -g -P make,mingw64-i686-gcc-core,mingw64-x86_64-gcc-core
- appveyor DownloadFile %JULIA_URL% -FileName C:\projects\julia-binary.exe
- set PATH="C:\Program Files\7-Zip"
build_script:
- C:\cygwin64\bin\sh -lc "make -C $(cygpath $APPVEYOR_BUILD_FOLDER)"
after_build:
- mkdir %APPVEYOR_BUILD_FOLDER%\usr
- mkdir %APPVEYOR_BUILD_FOLDER%\usr\lib
- copy %APPVEYOR_BUILD_FOLDER%\build\lib\*.dll %APPVEYOR_BUILD_FOLDER%\usr\lib
- set /p VERSION= < %APPVEYOR_BUILD_FOLDER%\VERSION
- 7z a libfftw-%VERSION%-win-%ARCH%.zip %APPVEYOR_BUILD_FOLDER%\usr
before_test:
- C:\projects\julia-binary.exe /S /D=C:\projects\julia
- C:\projects\julia\bin\julia -e "versioninfo()"
test_script:
- C:\projects\julia\bin\julia test.jl
artifacts:
- path: libfftw-*.zip