forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
65 lines (55 loc) · 2.1 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
58
59
60
61
62
63
64
65
environment:
global:
CCACHE_DIR: C:\ccache
CYG_MIRROR: http://cygwin.mirror.constant.com
CYG_CACHE: '%CYG_ROOT%\var\cache\setup'
CYG_BASH: '%CYG_ROOT%\bin\bash'
matrix:
- MINGW_ARCH: "i686"
CYG_ROOT: C:\cygwin
CYG_SETUP: setup-x86.exe
JULIA_TEST_MAXRSS_MB: 500
- MINGW_ARCH: "x86_64"
CYG_ROOT: C:\cygwin64
CYG_SETUP: setup-x86_64.exe
JULIA_TEST_MAXRSS_MB: 450
# Only build on master and PR's for now, not personal branches
# Whether or not PR's get built is determined in the webhook settings
branches:
only:
- master
- /^release-.*/
# Note: use `[ci skip]` or `[skip ci]` anywhere in the commit message and AppVeyor won't be
# built for that commit. You can use `[skip appveyor]` to explicitly skip AppVeyor and
# allow other CI to still run.
skip_commits:
# Add [av skip] to commit messages for docfixes, etc to reduce load on queue
message: /\[av skip\]/
# Skip running CI for changes only to the documentation
# https://github.com/JuliaLang/julia/pull/27356#discussion_r192536676
# files:
# - doc/
notifications:
- provider: Email
on_build_success: false
on_build_failure: false
on_build_status_changed: false
cache:
- '%CYG_CACHE%'
- '%CCACHE_DIR%'
init:
- git config --global core.autocrlf input
install:
- '%CYG_ROOT%\%CYG_SETUP% -gnq -R "%CYG_ROOT%" -s "%CYG_MIRROR%" -l "%CYG_CACHE%" -P make,python2,libiconv,curl,time,p7zip,ccache,mingw64-%MINGW_ARCH%-gcc-g++,mingw64-%MINGW_ARCH%-gcc-fortran > NULL 2>&1'
- '%CYG_ROOT%\bin\cygcheck -dc cygwin'
build_script:
- 'echo Building Julia'
- '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER && ./contrib/windows/appveyor_build.sh"'
test_script:
- 'echo Testing Julia'
- usr\bin\julia -e "Base.require(Main, :InteractiveUtils).versioninfo()"
- usr\bin\julia --sysimage-native-code=no -e "true"
- cd julia-* && .\bin\julia.exe --check-bounds=yes share\julia\test\runtests.jl all &&
.\bin\julia.exe --check-bounds=yes share\julia\test\runtests.jl LibGit2/online Pkg/pkg download
- cd ..
- usr\bin\julia usr\share\julia\test\embedding\embedding-test.jl test\embedding\embedding.exe