summaryrefslogtreecommitdiff
path: root/azure-pipelines-ci.yml
blob: 789f8f6a32f4d7ec00dc5755019d9ed259b17d9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
trigger:
- master
- release/*
pr:
- master
- release/*

jobs:
- job: windows
  displayName: 'Windows'
  pool:
    vmImage: 'VS2017-Win2016'

  strategy:
    matrix:
      Win32:
        BuildPlatform: 'Win32'
      Win64:
        BuildPlatform: 'x64'

  steps:
  - template: azure-pipelines/templates/ci-git-rebase.yml
  - template: azure-pipelines/templates/windows-dependencies.yml
  - template: azure-pipelines/templates/ci-opengfx.yml
  - template: azure-pipelines/templates/windows-build.yml
    parameters:
      BuildPlatform: $(BuildPlatform)
  - script: |
      call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86
      cd projects
      call regression.bat
    displayName: 'Test'

- job: linux
  displayName: 'Linux'
  pool:
    vmImage: 'ubuntu-16.04'

  strategy:
    matrix:
      commit-checker: {}
      linux-amd64-clang-3.8: {}
      linux-amd64-gcc-6: {}
      linux-i386-gcc-6: {}

  steps:
  - template: azure-pipelines/templates/ci-git-rebase.yml
  # The dockers already have the dependencies installed
  # The dockers already have OpenGFX installed
  - template: azure-pipelines/templates/linux-build.yml
    parameters:
      Image: compile-farm-ci
      Tag: $(Agent.JobName)

- job: macos
  displayName: 'MacOS'
  pool:
    vmImage: 'macOS-10.13'

  variables:
    MACOSX_DEPLOYMENT_TARGET: 10.9

  steps:
  - template: azure-pipelines/templates/ci-git-rebase.yml
  - template: azure-pipelines/templates/osx-dependencies.yml
  - template: azure-pipelines/templates/ci-opengfx.yml
  - template: azure-pipelines/templates/osx-build.yml
  - script: 'make regression'
    displayName: 'Test'