forked from rai-project/mxnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
75 lines (73 loc) · 3.39 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
65
66
67
68
69
70
71
72
73
74
75
variables:
isMain: $[eq(variables['Build.SourceBranch'], 'refs/heads/master')]
jobs:
- job: CPU_MXNET_1_8_0
timeoutInMinutes: 0
steps:
- script: docker login -u $(DOCKER_USERNAME) -p $(DOCKER_PASSWORD)
condition: eq(variables.isMain, true)
- script: MXNET_VERSION=1.8.0 make docker_build_cpu
workingDirectory: mxnet-agent/dockerfiles
- script: MXNET_VERSION=1.8.0 ./push.sh docker_push_cpu
workingDirectory: mxnet-agent/dockerfiles
condition: eq(variables.isMain, true)
- job: GPU_MXNET_1_8_0_CUDA100
timeoutInMinutes: 0
steps:
- script: docker login -u $(DOCKER_USERNAME) -p $(DOCKER_PASSWORD)
condition: eq(variables.isMain, true)
- script: MXNET_VERSION=1.8.0 CUDA_VERSION=10.0 make docker_build_gpu
workingDirectory: mxnet-agent/dockerfiles
- script: MXNET_VERSION=1.8.0 CUDA_VERSION=10.0 ./push.sh docker_push_gpu
workingDirectory: mxnet-agent/dockerfiles
condition: eq(variables.isMain, true)
- job: GPU_MXNET_1_8_0_CUDA101
timeoutInMinutes: 0
steps:
- script: docker login -u $(DOCKER_USERNAME) -p $(DOCKER_PASSWORD)
condition: eq(variables.isMain, true)
- script: MXNET_VERSION=1.8.0 CUDA_VERSION=10.1 make docker_build_gpu
workingDirectory: mxnet-agent/dockerfiles
- script: MXNET_VERSION=1.8.0 CUDA_VERSION=10.1 ./push.sh docker_push_gpu
workingDirectory: mxnet-agent/dockerfiles
condition: eq(variables.isMain, true)
- job: GPU_MXNET_1_8_0_CUDA102
timeoutInMinutes: 0
steps:
- script: docker login -u $(DOCKER_USERNAME) -p $(DOCKER_PASSWORD)
condition: eq(variables.isMain, true)
- script: MXNET_VERSION=1.8.0 CUDA_VERSION=10.2 make docker_build_gpu
workingDirectory: mxnet-agent/dockerfiles
- script: MXNET_VERSION=1.8.0 CUDA_VERSION=10.2 ./push.sh docker_push_gpu
workingDirectory: mxnet-agent/dockerfiles
condition: eq(variables.isMain, true)
- job: GPU_MXNET_1_8_0_CUDA110
timeoutInMinutes: 0
steps:
- script: docker login -u $(DOCKER_USERNAME) -p $(DOCKER_PASSWORD)
condition: eq(variables.isMain, true)
- script: MXNET_VERSION=1.8.0 CUDA_VERSION=11.0 make docker_build_gpu
workingDirectory: mxnet-agent/dockerfiles
- script: MXNET_VERSION=1.8.0 CUDA_VERSION=11.0 ./push.sh docker_push_gpu
workingDirectory: mxnet-agent/dockerfiles
condition: eq(variables.isMain, true)
- job: GPU_MXNET_1_8_0_CUDA111
timeoutInMinutes: 0
steps:
- script: docker login -u $(DOCKER_USERNAME) -p $(DOCKER_PASSWORD)
condition: eq(variables.isMain, true)
- script: MXNET_VERSION=1.8.0 CUDA_VERSION=11.1 make docker_build_gpu
workingDirectory: mxnet-agent/dockerfiles
- script: MXNET_VERSION=1.8.0 CUDA_VERSION=11.1 ./push.sh docker_push_gpu
workingDirectory: mxnet-agent/dockerfiles
condition: eq(variables.isMain, true)
- job: GPU_MXNET_1_8_0_CUDA112
timeoutInMinutes: 0
steps:
- script: docker login -u $(DOCKER_USERNAME) -p $(DOCKER_PASSWORD)
condition: eq(variables.isMain, true)
- script: MXNET_VERSION=1.8.0 CUDA_VERSION=11.2 make docker_build_gpu
workingDirectory: mxnet-agent/dockerfiles
- script: MXNET_VERSION=1.8.0 CUDA_VERSION=11.2 ./push.sh docker_push_gpu
workingDirectory: mxnet-agent/dockerfiles
condition: eq(variables.isMain, true)