Skip to content

Commit 429509c

Browse files
Build it on x64 lol
1 parent b249869 commit 429509c

File tree

1 file changed

+1
-52
lines changed

1 file changed

+1
-52
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ jobs:
2626
# # Windows
2727
# - os: windows-latest
2828
# target: x86_64-pc-windows-msvc
29-
- os: Windows-ARM
29+
- os: windows-latest
3030
target: arm64-pc-windows-msvc/* ./npm/win32-arm64-msvc/
31-
install-windows-arm: true
3231
# # macOS
3332
# - os: macos-latest
3433
# target: x86_64-apple-darwin
@@ -120,56 +119,6 @@ jobs:
120119
run: |
121120
rustup default stable
122121
123-
- name: Install Visual Studio (Windows)
124-
if: ${{ matrix.install-windows-arm }}
125-
run: |
126-
$components = @(
127-
"Microsoft.VisualStudio.Component.CoreEditor",
128-
"Microsoft.VisualStudio.Workload.CoreEditor",
129-
"Microsoft.VisualStudio.Component.Roslyn.Compiler",
130-
"Microsoft.Component.MSBuild",
131-
"Microsoft.VisualStudio.Component.TextTemplating",
132-
"Microsoft.VisualStudio.Component.Debugger.JustInTime",
133-
"Microsoft.VisualStudio.Component.VC.CoreIde",
134-
"Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
135-
"Microsoft.VisualStudio.Component.Windows11SDK.22621",
136-
"Microsoft.VisualStudio.Component.VC.Tools.ARM64EC",
137-
"Microsoft.VisualStudio.Component.VC.Tools.ARM64",
138-
"Microsoft.VisualStudio.Component.VC.ATL",
139-
"Microsoft.VisualStudio.Component.VC.ATL.ARM64",
140-
"Microsoft.VisualStudio.Component.Graphics",
141-
"Microsoft.VisualStudio.Component.VC.Redist.14.Latest",
142-
"Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core",
143-
"Microsoft.VisualStudio.Component.Windows11Sdk.WindowsPerformanceToolkit",
144-
"Microsoft.VisualStudio.Component.CppBuildInsights",
145-
"Microsoft.VisualStudio.Component.VC.DiagnosticTools",
146-
"Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions.CMake",
147-
"Microsoft.VisualStudio.Component.VC.CMake.Project",
148-
"Microsoft.VisualStudio.Component.VC.ASAN",
149-
"Microsoft.VisualStudio.Component.Vcpkg",
150-
"Microsoft.VisualStudio.Workload.NativeDesktop"
151-
)
152-
$config = @{
153-
"version" = "1.0"
154-
"components" = $components
155-
"extensions" = @()
156-
}
157-
$configPath = "${env:RUNNER_TEMP}\vsconfig"
158-
$config | ConvertTo-Json | Out-File -FilePath $configPath
159-
$bootstrapperFilePath = "${env:RUNNER_TEMP}\vs_community.exe"
160-
write-host "Downloading Visual Studio 2022"
161-
Invoke-WebRequest -Uri "https://aka.ms/vs/17/release/vs_community.exe" -outfile $bootstrapperFilePath
162-
$bootstrapperArgumentList = ('/c', $bootstrapperFilePath, '--config', $configPath, '--quiet', '--wait' )
163-
write-host "Installing Visual Studio 2022"
164-
$process = Start-Process -FilePath cmd.exe -ArgumentList $bootstrapperArgumentList -Wait -PassThru
165-
$exitCode = $process.ExitCode
166-
write-host $exitCode
167-
168-
- name: Install Rust (Windows ARM, Stable)
169-
if: ${{ matrix.install-windows-arm }}
170-
run: |
171-
& ([scriptblock]::Create((New-Object System.Net.WebClient).DownloadString('https://gist.github.com/fnichol/699d3c2930649a9932f71bab8a315b31/raw/rustup-init.ps1'))) -y
172-
173122
- name: Setup rust target
174123
run: rustup target add ${{ matrix.target }}
175124

0 commit comments

Comments
 (0)