Skip to content

Commit d3ba8c7

Browse files
committed
Update for Windows arm
1 parent 1493c00 commit d3ba8c7

File tree

5 files changed

+5388
-4717
lines changed

5 files changed

+5388
-4717
lines changed

.github/workflows/ruby.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ jobs:
5757
matrix:
5858
os: [ windows-2022, windows-2019 ]
5959
ruby: [ mswin, mingw, ucrt, head, 3.3, 3.2, 3.1, '3.0', 2.5, 2.4, 2.3, 2.2 ]
60+
include:
61+
- { os: windows-11-arm , ruby: 3.4 }
62+
- { os: windows-11-arm , ruby: head }
6063
runs-on: ${{ matrix.os }}
6164
steps:
6265
- name: Checkout

common.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,7 @@ export const updateKeyRing = async (vers) => {
117117
await download(uri, fn)
118118
await download(`${uri}.sig`, `${fn}.sig`)
119119

120-
const origPath = process.env.Path
121-
process.env.Path = `C:\\msys64\\usr\\bin;C:\\msys64\\mingw64\\bin;${origPath}`
122-
123-
execSync(`C:\\msys64\\usr\\bin\\pacman.exe -Udd --noconfirm --noprogressbar ${fn}`)
124-
process.env['Path'] = origPath
120+
execSync(`pacman.exe -Udd --noconfirm --noprogressbar ${fn}`)
125121

126122
grpEnd(msSt)
127123
}

0 commit comments

Comments
 (0)