Only use architecture of first CPU#346
Conversation
|
We just saw those same CI errors. Apparently, PNPM auto-updated to 11, which requires manual approval for post-install scripts. |
|
I've disabled the fail-fast so the test result should show up again, most of the pnpm ones will fail but this way we can at least tell if the windows ones are ok |
Some VMs expose multiple cores as multiple CPUs, which breaks the current check for architecture type. This isolates the first CPU, fixing the incompatibility.
62f5312 to
9f1b039
Compare
|
Sorry it's taken me a while to get ahold of a windows computer to test it out on But I think replacing |
|
Using |
|
Select-Object worked for me. Also, if I enter |
|
Actually, if the incoming data is a structure, (Get-WmiObject Win32_Processor | Select-Object -First 1).Architectureor (Get-WmiObject Win32_Processor).Architecture[0] |
Some VMs expose multiple cores as multiple CPUs, which breaks the current check for architecture type. This isolates the first CPU, fixing the incompatibility.