Allow packaging and releasing from a F* source package #167
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.
Right now F* cannot be bootstrapped on Windows, but a bootstrapped F* source package can be produced on Linux, and then that source package can be compiled on Windows.
This PR allows building an EverParse binary package from a F* source package. This will work both on Linux and Windows.
This PR also updates the release process to build a binary release from a F* source package. Once this PR is merged into
masterandmasteris merged into the_releasebranch, therelease.shscript will build a F* source package on Linux and commit its contents to the EverParse_releasebranch. Thus, the EverParse binary package will be able to be rebuilt from there without the need to retrieve F* source packages from GitHub's out-of-repository storage mechanisms (build/release artifacts, etc.)To this end, it is important that the release be performed on Linux first, before Windows, since F* cannot be bootstrapped on Windows.
This PR also introduces a test mode for releases: when the
EVERPARSE_TEST_RELEASEenvironment variable is set to some nonempty value,release.shall steps exceptgit pushand GitHub artifact uploads.