Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Added Windows workflow #1534

Merged
merged 3 commits into from
Jan 27, 2021
Merged

Conversation

piotradamczyk5
Copy link
Contributor

@piotradamczyk5 piotradamczyk5 commented Jan 25, 2021

Fixes #1528

Test Plan

How do we know the code works?

Windows workflow runs and passes

Checklist

  • Added Windows workflow

@github-actions
Copy link
Contributor

github-actions bot commented Jan 25, 2021

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@github-actions
Copy link
Contributor

github-actions bot commented Jan 25, 2021

Timestamp: 2021-01-27 08:05:41
Buildscan url for ubuntu-workflow run 514458640

@piotradamczyk5 piotradamczyk5 enabled auto-merge (squash) January 26, 2021 07:04
@piotradamczyk5 piotradamczyk5 force-pushed the #1528_added_windows_workflow branch 5 times, most recently from 7f693d4 to f540ee6 Compare January 26, 2021 21:13
@piotradamczyk5 piotradamczyk5 force-pushed the #1528_added_windows_workflow branch from f540ee6 to bd0808b Compare January 26, 2021 21:22
@piotradamczyk5 piotradamczyk5 requested a review from Sloox January 26, 2021 21:25
@@ -13,6 +13,10 @@ val userHome: String by lazy {
if (isWindows) System.getenv("HOMEPATH") else System.getProperty("user.home")
}

val appDataDirectory: String by lazy {
if (isWindows) System.getenv("APPDATA") else System.getProperty("user.home")
Copy link
Contributor

Choose a reason for hiding this comment

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

I had a feeling something related to HOMEPATH was going to be the issue. I assume that HOMEPATH you dont have write permissions on the VM'S right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

exactly. User directory is for users 🎉 Just one working day to figure this out

Copy link
Contributor Author

Choose a reason for hiding this comment

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

and basically this is good practice on Windows to keep app data into app data folder instead of user one

@piotradamczyk5 piotradamczyk5 deleted the #1528_added_windows_workflow branch January 27, 2021 10:17
@github-actions github-actions bot locked and limited conversation to collaborators Jan 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re-introduce Windows as a build platform
4 participants