Skip to content

Commit fd1c063

Browse files
committed
[rust] Fix Windows arm64 logic for Selenium Manager and prepare CI
1 parent 21e3af9 commit fd1c063

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/ci-rust.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
- os: macos
3737
- os: ubuntu
3838
- os: windows
39+
- os: windows-11-arm
3940
with:
4041
name: Tests (${{ matrix.os }})
4142
cache-key: rust-test

rust/src/electron.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ impl SeleniumManager for ElectronManager {
207207
if X32.is(arch) {
208208
"win32-ia32"
209209
} else if ARM64.is(arch) {
210-
"win32-arm64-x64"
210+
"win32-arm64"
211211
} else {
212212
"win32-x64"
213213
}

rust/src/firefox.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ impl SeleniumManager for FirefoxManager {
554554
if X32.is(arch) || major_browser_version < 42 {
555555
platform_label = "win32";
556556
} else if ARM64.is(arch) {
557-
platform_label = "win-aarch64";
557+
platform_label = "win64-aarch64";
558558
} else {
559559
platform_label = "win64";
560560
}

0 commit comments

Comments
 (0)