Skip to content

Commit

Permalink
Merge pull request #52 from JuliaLang/tk/bintray
Browse files Browse the repository at this point in the history
Move Windows binary to bintray.
  • Loading branch information
acroy committed Jul 26, 2015
2 parents c6e47e9 + 26b313c commit 935d886
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 8 deletions.
4 changes: 2 additions & 2 deletions REQUIRE
@@ -1,2 +1,2 @@
julia 0.2-
BinDeps
julia 0.2
BinDeps 0.3
26 changes: 21 additions & 5 deletions appveyor.yml
@@ -1,18 +1,34 @@
environment:
matrix:
- JULIAVERSION: "win32"
- JULIAVERSION: "win64"
- JULIAVERSION: "julialang/bin/winnt/x86/0.3/julia-0.3-latest-win32.exe"
- JULIAVERSION: "julialang/bin/winnt/x64/0.3/julia-0.3-latest-win64.exe"
- JULIAVERSION: "julianightlies/bin/winnt/x86/julia-latest-win32.exe"
- JULIAVERSION: "julianightlies/bin/winnt/x64/julia-latest-win64.exe"

branches:
only:
- master
- /release-.*/

notifications:
- provider: Email
on_build_success: false
on_build_failure: false
on_build_status_changed: false

install:
# Download most recent Julia Windows binary
- ps: (new-object net.webclient).DownloadFile($("http://status.julialang.org/download/"+$env:JULIAVERSION), "C:\projects\julia-binary.exe")
- ps: (new-object net.webclient).DownloadFile(
$("http://s3.amazonaws.com/"+$env:JULIAVERSION),
"C:\projects\julia-binary.exe")
# Run installer silently, output to C:\projects\julia
- C:\projects\julia-binary.exe /S /D=C:\projects\julia

build_script:
# Need to convert from shallow to complete for Pkg.clone to work
- IF EXIST .git\shallow (git fetch --unshallow)
- C:\projects\julia\bin\julia -e "versioninfo(); Pkg.init(); Pkg.clone(pwd(), \"Sundials\"); Pkg.build(\"Sundials\")"
- C:\projects\julia\bin\julia -e "versioninfo();
Pkg.clone(pwd(), \"Sundials\"); Pkg.build(\"Sundials\")"

test_script:
- C:\projects\julia\bin\julia test\runtests.jl
- C:\projects\julia\bin\julia --check-bounds=yes -e "Pkg.test(\"Sundials\")"
2 changes: 1 addition & 1 deletion deps/build.jl
Expand Up @@ -18,7 +18,7 @@ sundialslibs = enable_sensitivities ? [cvodes, idas, kinsol, nvecserial] : [cvod
sundialsver = "sundials-2.5.0"
provides(Sources, URI("http://ftp.mcs.anl.gov/pub/petsc/externalpackages/$sundialsver.tar.gz"), sundialslibs)

provides(Binaries, URI("http://sourceforge.net/projects/juliadeps-win/files/$sundialsver.7z"),
provides(Binaries, URI("https://cache.e.ip.saba.us/https://bintray.com/artifact/download/tkelman/generic/$sundialsver.7z"),
sundialslibs, unpacked_dir="usr$WORD_SIZE/bin", os = :Windows)

prefix = joinpath(BinDeps.depsdir(sundialslibs[1]),"usr")
Expand Down

0 comments on commit 935d886

Please sign in to comment.