Skip to content

Commit

Permalink
ci: Use x64 Node on AppVeyor
Browse files Browse the repository at this point in the history
To work around appveyor/ci#3502.

Note: The AppVeyor-specific %PLATFORM% environment variable[1] is not
set when platform is not configured.  %PROCESSOR_ARCHITECTURE% is set by
default on Windows.[2]

[1]: https://www.appveyor.com/docs/environment-variables/
[2]: https://superuser.com/q/305901

Signed-off-by: Kevin Locke <[email protected]>
  • Loading branch information
kevinoid committed Jul 31, 2020
1 parent 4d582f3 commit 71db120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ environment:
# - x64

install:
- ps: Install-Product node $env:nodejs_version
- ps: Install-Product node $env:nodejs_version $(if ($env:PROCESSOR_ARCHITECTURE -eq 'AMD64') {'x64'} else {$env:PROCESSOR_ARCHITECTURE})
# Ignore package-lock.json. This is done for a few reasons:
# - To test against current versions of dependencies.
# - To test installability for dependents (doesn't use package-lock.json).
Expand Down

0 comments on commit 71db120

Please sign in to comment.