-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
94 lines (81 loc) · 2.76 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
build: false
environment:
ASSERT_URL: https://raw.github.com/lehmannro/assert.sh/master/assert.sh
matrix:
- job_name: Windows classification Py=3.10
appveyor_build_worker_image: Visual Studio 2019
PYTHON_DIR: C:\Python310-x64
ONNX_CLASSIFY: on
PYTORCH_CLASSIFY: on
TF_CLASSIFY: on
- job_name: Windows detection+Bert Py=3.10
appveyor_build_worker_image: Visual Studio 2019
PYTHON_DIR: C:\Python310-x64
ONNX_DETECTION: on
ONNX_BERT_SQUAD: on
PYTORCH_BERT_DEMO: on
- job_name: MacOS Bert
appveyor_build_worker_image: macos-catalina
ONNX_BERT_SQUAD: on
PYTORCH_BERT_DEMO: on
- job_name: MacOS detection
appveyor_build_worker_image: macos-catalina
ONNX_DETECTION: on
- job_name: MacOS compile+classification
appveyor_build_worker_image: macos-catalina
PACKAGE_INSTALL_AND_IMPORT: on
C_COMPILE_AND_RUN: on
ONNX_CLASSIFY: on
- job_name: Linux detection+Bert
appveyor_build_worker_image: Ubuntu
ONNX_DETECTION: on
ONNX_BERT_SQUAD: on
PYTORCH_BERT_DEMO: on
- job_name: Linux compile+classification
appveyor_build_worker_image: Ubuntu
PACKAGE_INSTALL_AND_IMPORT: on
C_COMPILE_AND_RUN: on
ONNX_CLASSIFY: on
PYTORCH_CLASSIFY: on
TF_CLASSIFY: on
- job_name: Windows Bert Py=3.6
appveyor_build_worker_image: Visual Studio 2019
PYTHON_DIR: C:\Python36-x64
ONNX_BERT_SQUAD: on
PYTORCH_BERT_DEMO: on
- job_name: Windows detection Py=3.6
appveyor_build_worker_image: Visual Studio 2019
PYTHON_DIR: C:\Python36-x64
ONNX_DETECTION: on
- job_name: Windows classification Py=3.6
appveyor_build_worker_image: Visual Studio 2019
PYTHON_DIR: C:\Python36-x64
PACKAGE_INSTALL_AND_IMPORT: on
ONNX_CLASSIFY: on
PYTORCH_CLASSIFY: on
init:
- cmd: reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem" /v LongPathsEnabled /t REG_DWORD /d 1 /f
- cmd: set PYTHON_EXE=python3
- cmd: set PATH=%PYTHON_DIR%;%PYTHON_DIR%\\Scripts;%cd%;%PATH%
- sh: export PATH=$APPVEYOR_BUILD_FOLDER:$PATH
install:
- cmd: mklink %PYTHON_DIR%\\python3.exe %PYTHON_DIR%\\python.exe
- axs func platform.platform
- python3 --version
- sh: |
if [[ "$CI_LINUX" == "true" ]]; then
appveyor DownloadFile "https://bootstrap.pypa.io/pip/3.6/get-pip.py"
sudo python3 get-pip.py "pip==19.3.1"
fi
- python3 -m pip --version
- cmd: appveyor DownloadFile %ASSERT_URL%
- sh: appveyor DownloadFile $ASSERT_URL
test_script:
- function_access.py
- param_source.py
- runnable.py
- stored_entry.py
- kernel.py
- axs version
- cmd: bash test_axs.sh
- sh: test_axs.sh