-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
64 lines (63 loc) · 3.04 KB
/
azure-pipelines.yml
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
variables:
isMain: $[eq(variables['Build.SourceBranch'], 'refs/heads/master')]
jobs:
- job: CPU_ORT_1_7_1
timeoutInMinutes: 0
steps:
- script: docker login -u $(DOCKER_USERNAME) -p $(DOCKER_PASSWORD)
condition: eq(variables.isMain, true)
- script: ONNXRUNTIME_VERSION=1.7.1 make docker_build_cpu
workingDirectory: onnxruntime-agent/dockerfiles
- script: ONNXRUNTIME_VERSION=1.7.1 ./push.sh docker_push_cpu
workingDirectory: onnxruntime-agent/dockerfiles
condition: eq(variables.isMain, true)
- job: GPU_ORT_1_7_1_CUDA101
timeoutInMinutes: 0
steps:
- script: docker login -u $(DOCKER_USERNAME) -p $(DOCKER_PASSWORD)
condition: eq(variables.isMain, true)
- script: ONNXRUNTIME_VERSION=1.7.1 CUDA_VERSION=10.1 make docker_build_gpu
workingDirectory: onnxruntime-agent/dockerfiles
- script: ONNXRUNTIME_VERSION=1.7.1 CUDA_VERSION=10.1 ./push.sh docker_push_gpu
workingDirectory: onnxruntime-agent/dockerfiles
condition: eq(variables.isMain, true)
- job: GPU_ORT_1_7_1_CUDA102
timeoutInMinutes: 0
steps:
- script: docker login -u $(DOCKER_USERNAME) -p $(DOCKER_PASSWORD)
condition: eq(variables.isMain, true)
- script: ONNXRUNTIME_VERSION=1.7.1 CUDA_VERSION=10.2 make docker_build_gpu
workingDirectory: onnxruntime-agent/dockerfiles
- script: ONNXRUNTIME_VERSION=1.7.1 CUDA_VERSION=10.2 ./push.sh docker_push_gpu
workingDirectory: onnxruntime-agent/dockerfiles
condition: eq(variables.isMain, true)
- job: GPU_ORT_1_7_1_CUDA110
timeoutInMinutes: 0
steps:
- script: docker login -u $(DOCKER_USERNAME) -p $(DOCKER_PASSWORD)
condition: eq(variables.isMain, true)
- script: ONNXRUNTIME_VERSION=1.7.1 CUDA_VERSION=11.0 make docker_build_gpu
workingDirectory: onnxruntime-agent/dockerfiles
- script: ONNXRUNTIME_VERSION=1.7.1 CUDA_VERSION=11.0 ./push.sh docker_push_gpu
workingDirectory: onnxruntime-agent/dockerfiles
condition: eq(variables.isMain, true)
- job: GPU_ORT_1_7_1_CUDA111
timeoutInMinutes: 0
steps:
- script: docker login -u $(DOCKER_USERNAME) -p $(DOCKER_PASSWORD)
condition: eq(variables.isMain, true)
- script: ONNXRUNTIME_VERSION=1.7.1 CUDA_VERSION=11.1 make docker_build_gpu
workingDirectory: onnxruntime-agent/dockerfiles
- script: ONNXRUNTIME_VERSION=1.7.1 CUDA_VERSION=11.1 ./push.sh docker_push_gpu
workingDirectory: onnxruntime-agent/dockerfiles
condition: eq(variables.isMain, true)
- job: GPU_ORT_1_7_1_CUDA112
timeoutInMinutes: 0
steps:
- script: docker login -u $(DOCKER_USERNAME) -p $(DOCKER_PASSWORD)
condition: eq(variables.isMain, true)
- script: ONNXRUNTIME_VERSION=1.7.1 CUDA_VERSION=11.2 make docker_build_gpu
workingDirectory: onnxruntime-agent/dockerfiles
- script: ONNXRUNTIME_VERSION=1.7.1 CUDA_VERSION=11.2 ./push.sh docker_push_gpu
workingDirectory: onnxruntime-agent/dockerfiles
condition: eq(variables.isMain, true)