tag:help.appveyor.com,2012-11-13:/discussions/questions/279-build-matrix-capabilityAppVeyor: Discussion 2018-08-25T01:43:17Ztag:help.appveyor.com,2012-11-13:Comment/330072622014-05-16T16:59:27Z2014-05-16T16:59:27ZBuild matrix capability.<div><p>Hi -</p>
<p>I am confused about the usage of the build matrix feature that
is present in the Environments pane of a build project and
Configuration option in the Build pane of a Build project. I've
read the document and really don't know how to they interplay.</p>
<p>Can you provide some additional guidance on how those sections
are supposed to be used?</p>
<p>Thanks!</p></div>ebenezer.ikonnetag:help.appveyor.com,2012-11-13:Comment/330072622014-05-16T17:17:14Z2014-05-16T17:17:14ZBuild matrix capability.<div><p>Probably should clarify and say that I'm really not clear on the
"Add Build Matrix Group" for environment variables.</p>
<p>Thanks.</p></div>ebenezer.ikonnetag:help.appveyor.com,2012-11-13:Comment/330072622014-05-16T23:56:36Z2014-05-16T23:56:36ZBuild matrix capability.<div><p>This means you can add not a single environment variable to
build matrix's dimension, but few. For example consider the
following example:</p>
<pre>
<code>configuration:
- debug
- release
environment:
matrix:
- db: mysql
provider: ADO
- db: mssql
provider: EF</code>
</pre>
<p>The following matrix will be created:</p>
<ul>
<li>configuration=debug;db=mysql;provider=ADO</li>
<li>configuration=debug;db=mssql;provider=EF</li>
<li>configuration=release;db=mysql;provider=ADO</li>
<li>configuration=release;db=mssql;provider=EF</li>
</ul>
<p>Variables in the same group are treated as a one piece.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/330072622014-05-18T01:13:29Z2014-05-18T01:13:29ZBuild matrix capability.<div><p>That makes sense.</p>
<p>However, are the variables "db" and "provider" standard? Is
there a list<br>
of those?</p>
<p>Thanks.</p></div>ebenezer.ikonnetag:help.appveyor.com,2012-11-13:Comment/330072622014-05-18T02:14:26Z2014-05-18T02:14:26ZBuild matrix capability.<div><p>Oh, you can use any variables - those "db" and "provider" are
just examples.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/330072622014-05-18T02:16:48Z2014-05-18T02:16:48ZBuild matrix capability.<div><p>Like here for example its node.js version to test against:
<a href=
"https://github.com/gruntjs/grunt/blob/master/appveyor.yml">https://github.com/gruntjs/grunt/blob/master/appveyor.yml</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/330072622014-05-18T10:50:35Z2014-05-18T10:50:35ZBuild matrix capability.<div><p>Ok. But ultimately, its just variable declarations to be
(possibly) used<br>
later on in the build, right?</p></div>ebenezer.ikonnetag:help.appveyor.com,2012-11-13:Comment/330072622014-05-18T14:15:24Z2014-05-18T14:15:24ZBuild matrix capability.<div><p>Correct.</p>
<p>On Sunday, May 18, 2014, ebenezer.ikonne <<br>
<a href=
"mailto:tender2+dddc8f8cb03ea73dc654d03df246804161a147d9d@tenderapp.com">
tender2+dddc8f8cb03ea73dc654d03df246804161a147d9d@tenderapp.com</a>>
wrote:</p></div>Feodor Fitsner