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

Fix behaviour on Windows pre- Gleam 0.23 #166

Merged
merged 6 commits into from
Dec 14, 2022
Merged

Fix behaviour on Windows pre- Gleam 0.23 #166

merged 6 commits into from
Dec 14, 2022

Conversation

paulo-ferraz-oliveira
Copy link
Collaborator

I wanna try and close #140, so want to first identify the issue then tackle it. Opening, initially, as draft.

return "${THIS_VSN}" -eq "nightly" -or (Version-Greater-Than "${THIS_VSN}" "0.22.1")
}

if (Uses-LLVM-Triplets "$VSN") {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Similar to what was done for the Linux script counterpart.

@@ -9,12 +9,13 @@ FILE_OUTPUT=gleam.tar.gz
DIR_FOR_BIN=.setup-beam/gleam
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Changed for simple diff.-related consistency

@@ -4,14 +4,17 @@ $ErrorActionPreference="Stop"

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Changed for simple diff.-related consistency

- gleam-version: '0.23.0-rc1'
otp-version: '24'
rebar3-version: '3.16'
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This was a remain from a previous pull request, that's not actually required.

@@ -41,9 +41,11 @@ jobs:
otp-version: '24'
rebar3-version: '3.15'
os: 'windows-latest'
- gleam-version: '0.19.0-rc3'
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

For this version, without the change, CI would fail.

After my change: ✅
Before my change: ❌

(workflow file: https://github.com/paulo-ferraz-oliveira/setup-beam-example/actions/runs/3672093082/workflow)

@paulo-ferraz-oliveira paulo-ferraz-oliveira marked this pull request as ready for review December 12, 2022 02:33
@starbelly starbelly merged commit 2d314bc into erlef:main Dec 14, 2022
@paulo-ferraz-oliveira paulo-ferraz-oliveira deleted the feature/gleam-support-on-windows-for-pre-0.23 branch December 14, 2022 16:00
@paulo-ferraz-oliveira paulo-ferraz-oliveira changed the title Check behaviour on Windows pre- Gleam 0.23 Fix behaviour on Windows pre- Gleam 0.23 Jan 4, 2023
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.

Support versions of Gleam at or older than v0.22.1 on Windows
2 participants