---
- task:
    metadata:
      name: "Windows 2012 64 (opt)"
      description: "Windows 2012 64 (opt)"

    payload:
      env:
        NSS_ENABLE_TLS_1_3: 1
        BUILD_OPT: 1
        USE_64: 1

    extra:
      treeherder:
        build:
          platform: windows2012-64
        machine:
          platform: windows2012-64
        collection:
          opt: true

  tests:
    - cipher
    - crmf
    - db
    - ec
    - fips
    - gtests
    - lowhash
    - merge
    - sdr
    - smime
    - tools

- task:
    metadata:
      name: "Windows 2012 64 (opt, no TLS 1.3)"
      description: "Windows 2012 64 (opt, no TLS 1.3)"

    payload:
      env:
        BUILD_OPT: 1
        USE_64: 1

    extra:
      treeherder:
        build:
          platform: windows2012-64
        machine:
          platform: windows2012-64
        collection:
          opt: true
        groupSymbol: Builds
        groupName: Various builds
        symbol: noTLSv1.3

- task:
    metadata:
      name: "Windows 2012 64 (opt, NSS_NO_PKCS11_BYPASS=1)"
      description: "Windows 2012 64 (opt, NSS_NO_PKCS11_BYPASS=1)"

    payload:
      env:
        NSS_NO_PKCS11_BYPASS: 1
        NSS_ENABLE_TLS_1_3: 1
        BUILD_OPT: 1
        USE_64: 1

    extra:
      treeherder:
        build:
          platform: windows2012-64
        machine:
          platform: windows2012-64
        collection:
          opt: true
        groupSymbol: Builds
        groupName: Various builds
        symbol: noPkcs11Bypass
