<commit_before>trigger:
  - master

variables:
  FEATURE_NAME_PREFIX: 'feature/'
  VERBOSITY: normal
  GIT_SHA: $(Build.SourceVersion)
  GIT_BRANCH_NAME: $(Build.SourceBranchName)
  BUILD_NUMBER: $[counter('$(Build.SourceBranchName)_counter', 1)]
  FEATURE_NAME: ''
  BASE_LINUX_PACKAGES: curl mono-complete msbuild
  NATIVE_LINUX_PACKAGES: $(BASE_LINUX_PACKAGES) python git libfontconfig1-dev clang-3.8 make
  TIZEN_LINUX_PACKAGES: $(BASE_LINUX_PACKAGES) python git openjdk-8-jdk zip libxcb-xfixes0 libxcb-render-util0 libwebkitgtk-1.0-0 libxcb-image0 acl libsdl1.2debian libv4l-0 libxcb-randr0 libxcb-shape0 libxcb-icccm4 libsm6 gettext rpm2cpio cpio bridge-utils openvpn
  MANAGED_LINUX_PACKAGES: $(BASE_LINUX_PACKAGES) dotnet-sdk-2.1 ttf-ancient-fonts
  MONO_VERSION: 5_16_0
  XCODE_VERSION: 10.1

resources:
  repositories:
    - repository: xamarin-templates
      type: github
      name: xamarin/yaml-templates
      endpoint: xamarin

jobs:

 # NATIVE JOBS - WINDOWS
  - template: azure-templates-bootstrapper.yml
    parameters:
      name: native_android_windows
      displayName: Build Native Android (Windows)
      vmImage: vs2017-win2016
      target: externals-android
  - template: azure-templates-bootstrapper.yml
    parameters:
      name: native_tizen_windows
      displayName: Build Native Tizen (Windows)
      vmImage: vs2017-win2016
      target: externals-tizen
      demands:
        - java
  - template: azure-templates-bootstrapper.yml
    parameters:
      name: native_uwp_windows
      displayName: Build Native UWP (Windows)
      vmImage: vs2017-win2016
      target: externals-uwp
  - template: azure-templates-bootstrapper.yml
    parameters:
      name: native_win32_windows
      displayName: Build Native Win32 (Windows)
      vmImage: vs2017-win2016
      target: externals-windows

 # NATIVE JOBS - MAC
  - template: azure-templates-bootstrapper.yml
    parameters:
      name: native_android_macos
      displayName: Build Native Android (macOS)<commit_msg>TEST: Do a check for java before doing anything<commit_after>trigger:
  - master

variables:
  FEATURE_NAME_PREFIX: 'feature/'
  VERBOSITY: normal
  GIT_SHA: $(Build.SourceVersion)
  GIT_BRANCH_NAME: $(Build.SourceBranchName)
  BUILD_NUMBER: $[counter('$(Build.SourceBranchName)_counter', 1)]
  FEATURE_NAME: ''
  BASE_LINUX_PACKAGES: curl mono-complete msbuild
  NATIVE_LINUX_PACKAGES: $(BASE_LINUX_PACKAGES) python git libfontconfig1-dev clang-3.8 make
  TIZEN_LINUX_PACKAGES: $(BASE_LINUX_PACKAGES) python git openjdk-8-jdk zip libxcb-xfixes0 libxcb-render-util0 libwebkitgtk-1.0-0 libxcb-image0 acl libsdl1.2debian libv4l-0 libxcb-randr0 libxcb-shape0 libxcb-icccm4 libsm6 gettext rpm2cpio cpio bridge-utils openvpn
  MANAGED_LINUX_PACKAGES: $(BASE_LINUX_PACKAGES) dotnet-sdk-2.1 ttf-ancient-fonts
  MONO_VERSION: 5_16_0
  XCODE_VERSION: 10.1

resources:
  repositories:
    - repository: xamarin-templates
      type: github
      name: xamarin/yaml-templates
      endpoint: xamarin

jobs:

 # NATIVE JOBS - WINDOWS
  - template: azure-templates-bootstrapper.yml
    parameters:
      name: native_android_windows
      displayName: Build Native Android (Windows)
      vmImage: vs2017-win2016
      target: externals-android
      preBuildSteps:
        - powershell: 'cmd /c "where java"'
  - template: azure-templates-bootstrapper.yml
    parameters:
      name: native_tizen_windows
      displayName: Build Native Tizen (Windows)
      vmImage: vs2017-win2016
      target: externals-tizen
      demands:
        - java
      preBuildSteps:
        - powershell: 'cmd /c "where java"'
  - template: azure-templates-bootstrapper.yml
    parameters:
      name: native_uwp_windows
      displayName: Build Native UWP (Windows)
      vmImage: vs2017-win2016
      target: externals-uwp
      preBuildSteps:
        - powershell: 'cmd /c "where java"'
  - template: azure-templates-bootstrapper.yml
    parameters:
      name: native_win32_windows
      displayName: Build Native Win32 (Windows)
      vmImage: vs2017-win2016
      target: externals-windows
      preBuildSteps:
        - powershell: 'cmd /c "where java"'

 # NATIVE JOBS - MAC
  - template: azure-templates-bootstrapper.yml
    parameters:
      name: native_android_macos
      displayName: Build Native Android (macOS)
{'fraction_non_alphanumeric': 0.08216945996275606, 'fraction_numerical': 0.03026070763500931, 'mean_word_length': 3.499476439790576, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1332835', 'n_tokens_mistral': 1544, 'n_tokens_neox': 1440, 'n_words': 313}