# Uploading binaries

**URL:** <https://discourse.julialang.org/t/uploading-binaries/1117>\
**Category:** General Usage\
**Tags:** question, package\
**Created:** [December 23, 2016, 4:48pm UTC](https://discourse.julialang.org/t/uploading-binaries/1117 "2016-12-23T16:48:05Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![barche](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/barche/32/79_2.png) [@barche](https://discourse.julialang.org/u/barche)\
**Post date:** [January 15, 2017, 5:01pm UTC](https://discourse.julialang.org/t/uploading-binaries/1117/4 "2017-01-15T17:01:59Z")

</div>

For CxxWrap, this now works with AppVeyor, using [this script](https://github.com/JuliaInterop/CxxWrap.jl/blob/master/appveyor.yml). The additions needed start at line 44, where the `deps/usr` directory is zipped. The `artifacts` section makes sure the zip file is available for download and the `deploy` section uploads the binaries to a github release when the build is happening on a tag. With these fairly simple changes, unreleased master binaries are directly available from appveyor, using a [permalink](https://github.com/JuliaInterop/CxxWrap.jl/blob/master/deps/build.jl#L166) that is based on the build name. Release binaries appear automatically as attachments to the GitHub release when a tag is pushed. Combined with @simonbyrne 's excellent Attobot, this means making a release with binaries is as simple as creating the release from the GitHub web interface. Even just pushing a tag from the command line would work, since AppVeyor will create a release for the tag automatically.

The major caveat is that AppVeyor doesn’t have a compiler that matches the Julia compiler, this is discussed at length [here](https://discourse.julialang.org/t/windows-c-binary-compatibility-mingw-vs-msvc/1250). The duration of the compilation process is also limited by the AppVeyor limits, which may be a problem for larger packages.

---

_[View the full topic](https://discourse.julialang.org/t/uploading-binaries/1117)._
