Skip to content

feat: Support Windows and Nightly builds#5

Merged
robin-aws merged 7 commits into
dafny-lang:mainfrom
seebees:v2-add-windows-and-nightly
Oct 3, 2022
Merged

feat: Support Windows and Nightly builds#5
robin-aws merged 7 commits into
dafny-lang:mainfrom
seebees:v2-add-windows-and-nightly

Conversation

@seebees

@seebees seebees commented Sep 23, 2022

Copy link
Copy Markdown
Collaborator

Make the download more portable to support Windows. Add support for nightly versions.

Make the download more portable to support Windows.
Add support for `nightly` versions.

@robin-aws robin-aws left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks! Make sure you delete the old install-dafny.sh script too.

Comment thread .github/workflows/main.yml Outdated
Comment thread .github/workflows/main.yml Outdated
Comment thread index.js Outdated

(async function () {
try {
const version = core.getInput("version", { required: true });

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens exactly if there's no version? The old version had an explicit error message. Might be worth a negative test here.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently this would result in a failed download...

Co-authored-by: Robin Salkeld <salkeldr@amazon.com>
Comment thread .github/workflows/main.yml Outdated
@robin-aws

Copy link
Copy Markdown
Member

I cancelled the CI to save capacity, lmk when you debug and want to try again

Try and make GHA run again
@seebees seebees force-pushed the v2-add-windows-and-nightly branch from 53a1c0b to 9bbfbf6 Compare September 30, 2022 20:45

@robin-aws robin-aws left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding nightly! See wrinkle below though.

Comment thread __tests__/verify-dafny.sh Outdated
Comment thread __tests__/verify-dafny.sh Outdated
seebees and others added 2 commits October 3, 2022 10:01
Co-authored-by: Robin Salkeld <salkeldr@amazon.com>

@robin-aws robin-aws left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@robin-aws robin-aws merged commit b76470d into dafny-lang:main Oct 3, 2022
@seebees seebees deleted the v2-add-windows-and-nightly branch October 3, 2022 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants