matrix and allow_failures

William Fulton's Avatar

William Fulton

12 Jun, 2020 06:57 PM

If I have this yaml file:

platform:
- x86
- x64

environment:
  global:
    MAKEJOBS: 2

  matrix:
  - LANG: csharp
    VSVER: 12
  - LANG: python
    OSVARIANT: cygwin

I can't figure out how to add the 2nd configuration (LANG==python and OSVARIANT==cygwin) build to 'allow_failures' . What's the syntax please?

  1. Support Staff 1 Posted by Feodor Fitsner on 13 Jun, 2020 12:34 AM

    Feodor Fitsner's Avatar

    Try this:

    platform: 
    - x86 
    - x64
    
    environment: 
      global: 
        MAKEJOBS: 2
    
      matrix: 
      - LANG: csharp 
        VSVER: 12 
      - LANG: python 
        OSVARIANT: cygwin
    
    matrix:
      allow_failures:
        - LANG: python
          OSVARIANT: cygwin
    
  2. Feodor Fitsner closed this discussion on 13 Aug, 2020 09:03 PM.

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

 

21 Mar, 2023 03:01 PM
20 Mar, 2023 03:28 PM
18 Mar, 2023 03:43 AM
17 Mar, 2023 10:01 AM
16 Mar, 2023 06:36 PM
04 Mar, 2023 07:48 PM