https://github.com/JuliaLang/julia
Raw File
Tip revision: 34b3a142a78706a3a0c5670962c66c56051db76d authored by Jameson Nash on 05 March 2020, 15:41:02 UTC
undo
Tip revision: 34b3a14
.appveyor.yml
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 download
  - cd ..
  - usr\bin\julia usr\share\julia\test\embedding\embedding-test.jl test\embedding\embedding.exe
back to top