actions-setup-cmake
actions-setup-cmake copied to clipboard
Does not work on windows arm64
Hi @jwlawson
This action seems to fail on a windows arm64 machine (one of our self-hosted runners) with the following error. This looks like the common error message that installing powershell 7 would fix, but we ensured that powershell 7 is installed there, and it's complaining about some kind of EACCES: permission denied
error on the pwsh.exe
file, rather than that file not existing, which might mean a different issue.
Is it tested or known to work on windows/arm64 or is it not supported?
Thanks, Hiroshi
Run jwlawson/actions-setup-cmake@v2
Using cmake version 3.31.2
Unexpected error attempting to determine if executable file exists 'C:\Users\runner\AppData\Local\Microsoft\WindowsApps\pwsh.EXE': Error: EACCES: permission denied, stat 'C:\Users\runner\AppData\Local\Microsoft\WindowsApps\pwsh.EXE'
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command "$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ; if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath 'D:\r\_work\_temp\333976e8-656d-4d8d-8482-a28c0b3b1ac8' -DestinationPath 'D:\r\_work\_temp\e1a8a735-ae2f-428c-b6ad-cb6520d92e48' -Force } else {[System.IO.Compression.ZipFile]::ExtractToDirectory('D:\r\_work\_temp\333976e8-656d-4d8d-8482-a28c0b3b1ac8', 'D:\r\_work\_temp\e1a8a735-ae2f-428c-b6ad-cb6520d92e48', $true) }"
Expand-Archive : is not a supported archive file format. .zip is the only supported archive file format.
At line:1 char:210
+ ... Ignore)) { Expand-Archive -LiteralPath 'D:\r\_work\_temp\333976e8-65 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:String) [Expand-Archive], IOException
+ FullyQualifiedErrorId : NotSupportedArchiveFileExtension,Expand-Archive
Error: The process 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' failed with exit code 1