# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger: none
pr: none

parameters:
- name: swiftshaderRepo
  type: string
  default: https://github.com/google/swiftshader.git
- name: swiftshaderBranch
  type: string
  default: master

variables:
  CCACHE_DIR: "$(Agent.BuildDirectory)/ccache"
  CLCACHE_DIR: "$(Agent.BuildDirectory)/clcache"
  CLCACHE_LOG: true

jobs:
- template: job-swiftshader.yml
  parameters:
    vmImage: ubuntu-18.04
    os: linux
    swiftshaderRepo: ${{ parameters.swiftshaderRepo }}
    swiftshaderBranch: ${{ parameters.swiftshaderBranch }}
- template: job-swiftshader.yml
  parameters:
    vmImage: macOS-10.15
    os: osx
    swiftshaderRepo: ${{ parameters.swiftshaderRepo }}
    swiftshaderBranch: ${{ parameters.swiftshaderBranch }}
- template: job-swiftshader.yml
  parameters:
    vmImage: vs2017-win2016
    os: windows
    swiftshaderRepo: ${{ parameters.swiftshaderRepo }}
    swiftshaderBranch: ${{ parameters.swiftshaderBranch }}


# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger: none
pr: none

parameters:
- name: swiftshaderRepo
  type: string
  default: https://github.com/google/swiftshader.git
- name: swiftshaderBranch
  type: string
  default: master

variables:
  CCACHE_DIR: "$(Agent.BuildDirectory)/ccache"
  CLCACHE_DIR: "$(Agent.BuildDirectory)/clcache"
  CLCACHE_LOG: true

jobs:
- template: job-swiftshader.yml
  parameters:
    vmImage: ubuntu-18.04
    os: linux
    swiftshaderRepo: ${{ parameters.swiftshaderRepo }}
    swiftshaderBranch: ${{ parameters.swiftshaderBranch }}
- template: job-swiftshader.yml
  parameters:
    vmImage: macOS-10.15
    os: osx
    swiftshaderRepo: ${{ parameters.swiftshaderRepo }}
    swiftshaderBranch: ${{ parameters.swiftshaderBranch }}
- template: job-swiftshader.yml
  parameters:
    vmImage: windows-2019
    os: windows
    swiftshaderRepo: ${{ parameters.swiftshaderRepo }}
    swiftshaderBranch: ${{ parameters.swiftshaderBranch }}


Use Windows 2019 to build Swiftshader in CI
Use Windows 2019 to build Swiftshader in CI

Signed-off-by: Kévin Petit <7be082ac62c87f3fb90b426eef925ff08291362b@free.fr>
