travis: add a POST_INSTALL_HOOK that links a unikernel #55
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
as requested in #24. From #53
actually, I do mind ;) -- that's why 4c1c42f includes a (basic) solution here where travis after compiling and installing ocaml-freestanding executes a shell script which installs mirage in order to compile and link a minimal unikernel.
travis run differences (IMHO acceptable for the added benefit):
A failing run (I removed
gettimeofday
in 3c25294, required by OCaml runtime) can be seen at https://travis-ci.org/mirage/ocaml-freestanding/jobs/533099435 -- i.e. the travis run fails, and you can see the output at the end.The second commit here, 990de6b, is an artifact of a compiler issue we encountered in mirage-kv 2.0.0 (see mirage/mirage-kv@3df5b30), which is not yet properly propagated through mirage opam packages (see mirage/mirage#988). Thus it just reflects reality, and removes the 4.04.2 bits and pieces from ocaml-freestanding.