-
Notifications
You must be signed in to change notification settings - Fork 26
/
appveyor.yml
55 lines (44 loc) · 1.54 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
build: false
environment:
matrix:
- PYTHON: C:\Python36-x64
PYTHON_VERSION: 3.6
TF_PREBUILT_VERSION: 1.8.0
- PYTHON: C:\Python36-x64
PYTHON_VERSION: 3.6
TF_PREBUILT_VERSION: 1.4.0
- PYTHON: C:\Python36-x64
PYTHON_VERSION: 3.6
TF_PREBUILT_VERSION: 1.3.0
- PYTHON: C:\Python35-x64
PYTHON_VERSION: 3.5
TF_PREBUILT_VERSION: 1.8.0
- PYTHON: C:\Python35-x64
PYTHON_VERSION: 3.5
TF_PREBUILT_VERSION: 1.4.0
- PYTHON: C:\Python35-x64
PYTHON_VERSION: 3.5
TF_PREBUILT_VERSION: 1.1.0
# Python 2.7 is supported by AppVeyor, but there is no pre-built TF package for Windows.
#
# - PYTHON: C:\Python27-x64
# PYTHON_VERSION: 2.7
# TF_PREBUILT_VERSION: 1.4.0
init:
- "ECHO %PYTHON% %PYTHON_VERSION% TF_PREBUILT_VERSION=%TF_PREBUILT_VERSION%"
- set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
- python --version
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
install:
- python -m pip install -U pip
- python -m easy_install -U setuptools
- python -m pip install ck
- ck version
- ck pull repo:ck-tensorflow
- ck pull repo:ctuning-datasets-min
- ck detect soft:compiler.python --full_path=%PYTHON%\\python.exe
- echo 0 | ck detect platform.os --update_platform_init
- ck install package:tensorflowmodel-imagenet-inception-20151205
- ck install package:lib-tensorflow-%TF_PREBUILT_VERSION%-cpu
test_script:
- ck run program:tensorflow --cmd_key=classify --dataset_uoa=image-jpeg-dnn-computer-mouse