Skip to content

Commit cbf57a2

Browse files
committed
attempt to install rust on windows arm64
1 parent 4e8ee62 commit cbf57a2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ jobs:
1919

2020
steps:
2121
- uses: actions/checkout@v3
22+
- name: Install Rust on Windows ARM
23+
if: matrix.os == 'windows-11-arm'
24+
shell: powershell
25+
run: |
26+
Invoke-WebRequest -Uri https://win.rustup.rs/aarch64 -OutFile rustup-init.exe
27+
./rustup-init.exe -y
28+
$env:Path += ";$env:USERPROFILE\.cargo\bin"
29+
echo "$env:USERPROFILE\.cargo\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
2230
- name: Install uniffi-bindgen-cs
2331
if: matrix.os == 'ubuntu-latest'
2432
run: cargo install uniffi-bindgen-cs --git https://github.com/NordSecurity/uniffi-bindgen-cs --tag v0.9.1+v0.28.3

0 commit comments

Comments
 (0)