Build Matrix issues

christoph's Avatar

christoph

19 Nov, 2015 10:38 AM

In our project, we have non-default platforms ("Win32" instead of "x86") and configurations ("Release-SSE2"); it would be neat to have support for such cases in the configuration UI (I haven't tested yet whether it is supported via appveyor.yml).

In addition, not all combinations of platforms and configurations are maintained; in particular, "Release-SSE2|x64" is not supposed to be built (and in fact currently doesn't even exist in the project files);. It would be neat to have support for this case as well, at least via appveyor.yml if not via the configuration UI.

  1. Support Staff 1 Posted by Feodor Fitsner on 19 Nov, 2015 06:17 PM

    Feodor Fitsner's Avatar

    The best way to configure that is using appveyor.yml: http://www.appveyor.com/docs/build-configuration#build-matrix

    You can specify configurations allowing to fail. Alternatively, you can define all permutations as environment variables matrix.

  2. 2 Posted by christoph on 19 Nov, 2015 06:39 PM

    christoph's Avatar

    Using allow_failures as a workaround for my issue seems like a dirty hack to me, knowing the configuration in question will never ever succeed.

    As for your alternative suggestion, I have no idea how that would look like; can you provide sample appveyor.yml code for it?
    The configuration needs to build "Release|Win32", "Release|x64" and "Release-SSE2|Win32", but should ideally make no attempt to build "Release-SSE2|x64".

  3. Support Staff 3 Posted by Feodor Fitsner on 19 Nov, 2015 06:44 PM

    Feodor Fitsner's Avatar
    environment:
      matrix:
      - configuration: Release
        platform: Win32
      - configuration: Release
        platform: x64
      - configuration: Release-SSE2
        platform: Win32
    
  4. 4 Posted by christoph on 19 Nov, 2015 07:28 PM

    christoph's Avatar

    That does the job - thanks a lot!

    I think this deserves to be mentioned in the documentation section of the website.

  5. Support Staff 5 Posted by Feodor Fitsner on 19 Nov, 2015 07:30 PM

    Feodor Fitsner's Avatar

    You can contribute to the documentation btw :) It's on GitHub.

  6. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:02 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac