forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
54 lines (46 loc) · 1.64 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
environment:
# USEMSVC: "1"
matrix:
- ARCH: "i686"
- ARCH: "x86_64"
JULIA_CPU_CORES: 1
# Run win64 tests in serial for now to avoid #7942 causing timeouts
# 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-.*/
skip_commits:
# Add [av skip] to commit messages for docfixes, etc to reduce load on queue
message: /\[av skip\]/
notifications:
- provider: Email
on_build_success: false
on_build_failure: false
on_build_status_changed: false
clone_depth: 50
init:
# Carriage returns are bad
- git config --global core.autocrlf input
cache:
# Cache any downloads from sourceforge because it's really unreliable
- mingw-w32-bin-i686-20140102.7z
- mingw-w64-bin-x86_64-20140102.7z
- llvm-3.3-i686-w64-mingw32-juliadeps.7z
- llvm-3.3-x86_64-w64-mingw32-juliadeps.7z
- jq.exe
build_script:
# Remove C:\MinGW\bin from the path, the version of MinGW installed on
# AppVeyor is not compatible with the cross-compiled Julia Windows binaries
- set PATH=%PATH:C:\MinGW\bin;=%
# Remove C:\Perl\bin from the path, otherwise it breaks shasum with an error
# Unable to find Digest::SHA or Digest::SHA::PurePerl
- set PATH=%PATH:C:\Perl\bin;=%
# - '"%VS120COMNTOOLS%\..\..\VC\vcvarsall.bat" x86_amd64'
# Since the AppVeyor VMs have Git installed, they have MSYS1
- sh --login /c/projects/julia/contrib/windows/msys_build.sh
test_script:
- usr\bin\julia -e "versioninfo()"
- copy usr\lib\julia\sys.ji local.ji && usr\bin\julia -J local.ji -e "true" && del local.ji
- cd test && ..\usr\bin\julia runtests.jl all