We build and test Docker images on CircleCI. They are pushed to `terrorjack/asterius`, the tags are git revisions. `terrorjack/asterius:latest` correspond to latest revision on `master`.
Put input program in a directory (e.g. `~/mirror`), then map the directory to a Docker volume:
```
terrorjack@ubuntu:~$ docker run -it -v ~/mirror:/mirror terrorjack/asterius
`asterius` requires a forked `ghc` which can be found [here](https://github.com/TerrorJack/ghc/tree/asterius). We are looking forward to building `asterius` with vanilla `ghc-head` in the long run, but at the moment, we use our own `ghc` fork so it's easy to test radical changes on `ghc` itself.
On Linux/macOS, a prebuilt `ghc` tarball is provided. It's already included in [`stack.yaml`](https://github.com/tweag/asterius/blob/master/stack.yaml). Note that the Windows bindist does not provide prof libs/haddock (due to AppVeyor build time restriction).
After the dust settles, run `stack exec ahc-boot` to perform booting. Set the `ASTERIUS_DEBUG` environment variable to make `ahc-boot` print IRs to text files which are useful when debugging compiled code of standard libraries. Be aware that this flag slows down the booting process significantly!