Skip to content

Commit

Permalink
chore: use nushell in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
oberrich committed Jan 10, 2025
1 parent 3d6d65b commit 6750c2c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ jobs:
}
$installs = @(
# @{ Name = 'Chocolatey'; Action = {
# Set-ExecutionPolicy Bypass -Scope Process -Force
# [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
# iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | Out-Null
# }},
# @{ Name = 'Visual Studio 2022 Build Tools (aarch64)'; Action = {
# choco install visualstudio2022buildtools -y --no-progress --silent --package-parameters '--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621'
# }},
@{ Name = 'Rust (nightly, aarch64)'; Action = {
Invoke-WebRequest -Uri 'https://win.rustup.rs/aarch64' -OutFile '${{github.workspace}}\rustup-init.exe';
& '${{github.workspace}}\rustup-init.exe' --default-host aarch64-pc-windows-msvc --default-toolchain nightly -y
Expand All @@ -86,9 +94,8 @@ jobs:
)
$exports | ForEach-Object {
$path = $_
Add-Content -Path $env:GITHUB_PATH -Value $path
Log -Message "Added $path to \$GITHUB_PATH"
$_ | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
Log -Message "Added $_ to \$GITHUB_PATH"
}
- name: Install Rust
Expand Down

0 comments on commit 6750c2c

Please sign in to comment.