<commit_before>jobs:
  - job: MacOS
    dependsOn: Configure
    condition: ne( variables['configure.skipmacos'], 'true' )
    timeoutInMinutes: 200
    variables:
      xcodeVersion: 9.4.1
      coreBinaryDirectory:  '$(Agent.BuildDirectory)/sitk-build'
      CTEST_CONFIGURATION_TYPE: Release
      DASHBOARD_BRANCH_DIRECTORY: $(Agent.BuildDirectory)/SimpleITK-dashboard
      DASHBOARD_GIT_BRANCH: $[ dependencies.Configure.outputs['configure.BuildHash'] ]
    pool:
      vmImage: 'macos-10.14'
    steps:
      - template: ./git-download-steps.yml
      - task: UsePythonVersion@0
        displayName: Enable Python
        inputs:
          versionSpec: '3.6'
          architecture: 'x64'
      - script: |
          python --version
          sudo python -m pip install setuptools
          sudo python -m pip install ninja scikit-ci-addons
        displayName: 'Install ninja dependency'
      - bash: |
          set -x
          xcode-select -p
          sudo xcode-select -s /Applications/Xcode_$(xcodeVersion).app/Contents/Developer/
          xcode-select -p
          c++ --version
          cmake --version
          ninja --version
        displayName: 'XCode configuration'
      - bash: |
          ctest  -D "dashboard_track:STRING=Package" -S ${BUILD_SOURCESDIRECTORY}/Testing/CI/Azure/azure.cmake -V -j 2
        displayName: 'Build and test core'
        workingDirectory: $(Agent.BuildDirectory)
        env:
          CTEST_BINARY_DIRECTORY: $(coreBinaryDirectory)
          CTEST_OUTPUT_ON_FALURE: 1<commit_msg>AZP Packaging use macos-10.15<commit_after>jobs:
  - job: MacOS
    dependsOn: Configure
    condition: ne( variables['configure.skipmacos'], 'true' )
    timeoutInMinutes: 200
    variables:
      xcodeVersion: 9.4.1
      coreBinaryDirectory:  '$(Agent.BuildDirectory)/sitk-build'
      CTEST_CONFIGURATION_TYPE: Release
      DASHBOARD_BRANCH_DIRECTORY: $(Agent.BuildDirectory)/SimpleITK-dashboard
      DASHBOARD_GIT_BRANCH: $[ dependencies.Configure.outputs['configure.BuildHash'] ]
    pool:
      vmImage: 'macos-10.15'
    steps:
      - template: ./git-download-steps.yml
      - task: UsePythonVersion@0
        displayName: Enable Python
        inputs:
          versionSpec: '3.6'
          architecture: 'x64'
      - script: |
          python --version
          sudo python -m pip install setuptools
          sudo python -m pip install ninja scikit-ci-addons
        displayName: 'Install ninja dependency'
      - bash: |
          set -x
          xcode-select -p
          sudo xcode-select -s /Applications/Xcode_$(xcodeVersion).app/Contents/Developer/
          xcode-select -p
          c++ --version
          cmake --version
          ninja --version
        displayName: 'XCode configuration'
      - bash: |
          ctest  -D "dashboard_track:STRING=Package" -S ${BUILD_SOURCESDIRECTORY}/Testing/CI/Azure/azure.cmake -V -j 2
        displayName: 'Build and test core'
        workingDirectory: $(Agent.BuildDirectory)
        env:
          CTEST_BINARY_DIRECTORY: $(coreBinaryDirectory)
          CTEST_OUTPUT_ON_FALURE: 1
{'fraction_non_alphanumeric': 0.09902912621359224, 'fraction_numerical': 0.012297734627831715, 'mean_word_length': 2.2605485232067513, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5442427', 'n_tokens_mistral': 974, 'n_tokens_neox': 932, 'n_words': 200}