tag:help.appveyor.com,2012-11-13:/discussions/problems/214-how-can-i-get-the-current-platform-in-the-appveyoryml-scriptsAppVeyor: Discussion 2018-10-19T08:16:31Ztag:help.appveyor.com,2012-11-13:Comment/324221682014-04-05T03:28:58Z2014-04-05T03:28:59ZHow can I get the current platform in the appveyor.yml scripts?<div><p>Hi,</p>
<p>I'd like to be able to get the platform x86 or x64 in the
appveyor.yml build scripts.</p>
<p>Is there a way to do this? I've tried with several env variables
but I was not able to find it.</p>
<p>Thanks in advanced.</p></div>edgar.osctag:help.appveyor.com,2012-11-13:Comment/324221682014-04-05T03:33:30Z2014-04-05T03:33:30ZHow can I get the current platform in the appveyor.yml scripts?<div><p>If you mean OS bitness then right now it's always running on
Windows Server 2012 x64.<br>
That <code>Platform</code> setting is for MSBuild which can be
<code>x86</code>, <code>x64</code> or <code>Any CPU</code>.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/324221682014-04-05T03:39:28Z2014-04-05T03:39:28ZHow can I get the current platform in the appveyor.yml scripts?<div><p>Hi Feodor,</p>
<p>thanks for the quick response is there any way to get it? the
platform that is?</p></div>edgar.osctag:help.appveyor.com,2012-11-13:Comment/324221682014-04-05T03:50:35Z2014-04-05T03:50:35ZHow can I get the current platform in the appveyor.yml scripts?<div><p>Well, if it's set on Build tab of project settings only (or in
"build" section of appveyor.yml) you can get it from
<code>platform</code> environment variable.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/324221682014-04-05T03:52:06Z2014-04-05T03:52:06ZHow can I get the current platform in the appveyor.yml scripts?<div><p>Btw, there is x64 distro of Node.js is installed on build
servers, if it helps.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/324221682014-04-05T04:12:39Z2014-04-05T04:12:39ZHow can I get the current platform in the appveyor.yml scripts?<div><p>Thanks for the help. The actual nodejs x64 works fine it is when
compiling the cpp addons that it seems some libraries are missing
or something that fails.</p>
<p>Again thanks for the quick response.</p></div>edgar.osc