Skip to content

Commit b0aab3e

Browse files
MSP-Gregeregon
authored andcommitted
Add ruby-loco ucrt build
1 parent 23b44d8 commit b0aab3e

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
- { os: windows-2019, ruby: mingw }
2323
- { os: windows-2019, ruby: mswin }
2424
- { os: windows-2022, ruby: mingw }
25+
- { os: windows-2022, ruby: ucrt }
2526
- { os: windows-2022, ruby: head }
2627
exclude:
2728
- { os: windows-2016, ruby: 1.9 }

common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export async function measure(name, block) {
4848
}
4949

5050
export function isHeadVersion(rubyVersion) {
51-
return rubyVersion === 'head' || rubyVersion === 'debug' || rubyVersion === 'mingw' || rubyVersion === 'mswin'
51+
return ['head', 'debug', 'mingw', 'mswin', 'ucrt'].includes(rubyVersion)
5252
}
5353

5454
export function isStableVersion(rubyVersion) {

generate-windows-versions.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
versions['head'] = 'https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-head/rubyinstaller-head-x64.7z'
2929
versions['mingw'] = 'https://github.com/MSP-Greg/ruby-loco/releases/download/ruby-master/ruby-mingw.7z'
3030
versions['mswin'] = 'https://github.com/MSP-Greg/ruby-loco/releases/download/ruby-master/ruby-mswin.7z'
31+
versions['ucrt'] = 'https://github.com/MSP-Greg/ruby-loco/releases/download/ruby-master/ruby-ucrt.7z'
3132

3233
js = "export const versions = #{JSON.pretty_generate(versions)}\n"
3334
File.binwrite 'windows-versions.js', js

windows-versions.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)