-
Notifications
You must be signed in to change notification settings - Fork 5
/
appveyor.yml
66 lines (66 loc) · 2.33 KB
/
appveyor.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
version: 1.0.{build}
image:
- Ubuntu
- Visual Studio 2019
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
skip_branch_with_pr: true
configuration: Release
build: off
artifacts:
- path: '**\*.nupkg'
nuget:
disable_publish_on_pr: true
deploy:
provider: NuGet
api_key:
secure: oAHIyS9ywws1FkW2wadKEGo3WLcNo41ERWTJFxkmKz4nZrE3KH28eJjkrRSQmWbN
matrix:
fast_finish: true
for:
- matrix:
only:
- image: Ubuntu
before_build:
- dotnet publish -c Release src/TensorflowBinariesBuildTask
build_script:
# TF 1.12.0
- export TensorflowVersion=1.12.0
- dotnet test -c Release test/TensorflowBinariesBuildTask.Tests
- dotnet build -c Release src/tensorflow-batteries-linux-x64-cpu
- dotnet build -c Release src/tensorflow-batteries-linux-x64-gpu
- matrix:
only:
- image: Visual Studio 2019
before_build:
- dotnet restore
- dotnet publish -c Release src/TensorflowBinariesBuildTask
build_script:
# TF 2.4.1
- set TensorflowVersion=2.4.1
- dotnet test -c Release test/TensorflowBinariesBuildTask.Tests
- dotnet build -c Release src/tensorflow-batteries-windows-x64-cpu
- dotnet build -c Release src/tensorflow-batteries-windows-x64-gpu
# TF 1.15.5
- set TensorflowVersion=1.15.5
- dotnet test -c Release test/TensorflowBinariesBuildTask.Tests
- dotnet build -c Release src/tensorflow-batteries-windows-x64-cpu
- dotnet build -c Release src/tensorflow-batteries-windows-x64-gpu
# TF 1.14.0
- set TensorflowVersion=1.14.0
- dotnet test -c Release test/TensorflowBinariesBuildTask.Tests
- dotnet build -c Release src/tensorflow-batteries-windows-x64-cpu
- dotnet build -c Release src/tensorflow-batteries-windows-x64-gpu
# TF 1.13.2
- set TensorflowVersion=1.13.2
- dotnet test -c Release test/TensorflowBinariesBuildTask.Tests
- dotnet build -c Release src/tensorflow-batteries-windows-x64-cpu
- dotnet build -c Release src/tensorflow-batteries-windows-x64-gpu
# TF 1.12.0
- set TensorflowVersion=1.12.0
- dotnet test -c Release test/TensorflowBinariesBuildTask.Tests
- dotnet build -c Release src/tensorflow-batteries-windows-x64-cpu
- dotnet build -c Release src/tensorflow-batteries-windows-x64-gpu