forked from xiamx/fastText
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
57 lines (48 loc) · 1.31 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
version: '{build}'
clone_folder: c:\projects\fasttext
image:
- Visual Studio 2017
configuration:
- Release
- Debug
platform:
- x64
environment:
matrix:
- arch: Win64
matrix:
fast_finish: true
# skip unsupported combinations
init:
- set arch=
- if "%arch%"=="Win64" ( set arch= Win64)
- echo %arch%
- echo %APPVEYOR_BUILD_WORKER_IMAGE%
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" ( set generator="Visual Studio 15 2017%arch%" )
- echo %generator%
before_build:
- cmd: >-
mkdir build
cd build
cmake --version
cmake .. -G %generator%
build:
project: c:\projects\fasttext\build\fasttext.sln
parallel: true
after_build:
7z a %APPVEYOR_BUILD_FOLDER%\build\fasttext-win64-latest-%CONFIGURATION%.zip %APPVEYOR_BUILD_FOLDER%\build\%CONFIGURATION%
artifacts:
- path: build\fasttext-win64-latest-$(CONFIGURATION).zip
name: fastText-win64-%CONFIGURATION%
deploy:
release: fastText-latest-build$(appveyor_build_version)
description: 'The latest binary build $(appveyor_build_version) of fastText for 64 bit Windows, using VS2017'
provider: GitHub
auth_token:
secure: w6RhxxgTQp67I0w3mL1oSQXUZpmhnedD8uWFMyHaubLK0t0+cKWt5uLPCoHq2XbL
artifact: build\fasttext-win64-latest-$(CONFIGURATION).zip
draft: true
prerelease: false
force_update: false
on:
branch: master