forked from rai-project/tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
44 lines (43 loc) · 2.03 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
variables:
isMain: $[eq(variables['Build.SourceBranch'], 'refs/heads/master')]
jobs:
- job: CPU_TF_1_14_0
timeoutInMinutes: 0
steps:
- script: docker login -u $(DOCKER_USERNAME) -p $(DOCKER_PASSWORD)
condition: eq(variables.isMain, true)
- script: TENSORFLOW_VERSION=1.14.0 make docker_build_cpu
workingDirectory: tensorflow-agent/dockerfiles
- script: TENSORFLOW_VERSION=1.14.0 ./push.sh docker_push_cpu
workingDirectory: tensorflow-agent/dockerfiles
condition: eq(variables.isMain, true)
- job: GPU_TF_1_14_0_CUDA100
timeoutInMinutes: 0
steps:
- script: docker login -u $(DOCKER_USERNAME) -p $(DOCKER_PASSWORD)
condition: eq(variables.isMain, true)
- script: TENSORFLOW_VERSION=1.14.0 CUDA_VERSION=10.0 make docker_build_gpu
workingDirectory: tensorflow-agent/dockerfiles
- script: TENSORFLOW_VERSION=1.14.0 CUDA_VERSION=10.0 ./push.sh docker_push_gpu
workingDirectory: tensorflow-agent/dockerfiles
condition: eq(variables.isMain, true)
- job: GPU_TF_1_14_0_CUDA101
timeoutInMinutes: 0
steps:
- script: docker login -u $(DOCKER_USERNAME) -p $(DOCKER_PASSWORD)
condition: eq(variables.isMain, true)
- script: TENSORFLOW_VERSION=1.14.0 CUDA_VERSION=10.1 make docker_build_gpu
workingDirectory: tensorflow-agent/dockerfiles
- script: TENSORFLOW_VERSION=1.14.0 CUDA_VERSION=10.1 ./push.sh docker_push_gpu
workingDirectory: tensorflow-agent/dockerfiles
condition: eq(variables.isMain, true)
- job: GPU_TF_1_14_0_CUDA102
timeoutInMinutes: 0
steps:
- script: docker login -u $(DOCKER_USERNAME) -p $(DOCKER_PASSWORD)
condition: eq(variables.isMain, true)
- script: TENSORFLOW_VERSION=1.14.0 CUDA_VERSION=10.2 make docker_build_gpu
workingDirectory: tensorflow-agent/dockerfiles
- script: TENSORFLOW_VERSION=1.14.0 CUDA_VERSION=10.2 ./push.sh docker_push_gpu
workingDirectory: tensorflow-agent/dockerfiles
condition: eq(variables.isMain, true)