A Travis CI & Appveyor template to test your Haskell application and publish binary releases.
A Travis CI & Appveyor template to test your Haskell application and publish binary releases for Linux, Mac and Windows on Github.
Inspired by trust.
Haskell binaries usually have install instructions of cabal install
or stack install
. At best, this requires users to spend time downloading and compiling packages. Sometimes this requires debugging package or LTS versions, and may prevent folks from ever getting started.
This template allows you to provide prebuilt binaries for your users, saving time.
ci
directory, and the appveyor.yml
and .travis.yml
files into your project directory.appveyor.yml
and .travis.yml
, follow the instructions for each TODO
section.In order to have Travis CI and Appveyor build binaries for you, you’ll need to push a git tag that adheres to the Package Versioning Policy.
For example, if you were to release version 1.2.1
, you’d do the following:
# Do your usual release process
$ git tag v1.2.1
$ git push --tags
At this point, Travis CI and Appveyor will recognize this as a release, will build binaries for Linux, Mac, and Windows, and create a new GitHub release with those binaries. For example, see this projects release page.
Pull requests and issues are enthusiastically accepted.
By participating in this project you agree to follow our Code of Conduct.