Skip to content

Commit 50d21a0

Browse files
committed
update appveyor
1 parent 93ccfae commit 50d21a0

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ set (fasttext_VERSION_MINOR 1)
1717
include_directories(fasttext)
1818

1919
if(WIN32)
20-
set(CMAKE_CXX_FLAGS " -std=c++11 -funroll-loops -O3 -march=native")
20+
set(CMAKE_CXX_FLAGS "/O2")
2121
else()
2222
set(CMAKE_CXX_FLAGS " -pthread -std=c++11 -funroll-loops -O3 -march=native")
2323
endif()

appveyor.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,27 @@ before_build:
3131
cmake --version
3232
3333
cmake .. -G %generator%
34-
35-
dir
3634
3735
build:
3836
project: c:\projects\fasttext\build\fasttext.sln
3937
parallel: true
4038

39+
after_build:
40+
7z a %APPVEYOR_BUILD_FOLDER%\build\fasttext-win64-latest-%CONFIGURATION%.zip %APPVEYOR_BUILD_FOLDER%\build\%CONFIGURATION%
41+
4142
artifacts:
42-
- path: build/%CONFIGURATION%
43+
- path: build\fasttext-win64-latest-$(CONFIGURATION).zip
4344
name: fastText-win64-%CONFIGURATION%
44-
type: zip
4545

4646
deploy:
47-
release: fastText-%APPVEYOR_REPO_TAG_NAME%-build$(appveyor_build_version)
48-
description: 'The latest binary build of fastText for 64 bit Windows, using VS2017'
47+
release: fastText-latest-build$(appveyor_build_version)
48+
description: 'The latest binary build $(appveyor_build_version) of fastText for 64 bit Windows, using VS2017'
4949
provider: GitHub
5050
auth_token:
5151
secure: w6RhxxgTQp67I0w3mL1oSQXUZpmhnedD8uWFMyHaubLK0t0+cKWt5uLPCoHq2XbL
52-
artifact: fastText-win64-%CONFIGURATION%
53-
draft: false
52+
artifact: build\fasttext-win64-latest-$(CONFIGURATION).zip
53+
draft: true
5454
prerelease: false
55+
force_update: false
5556
on:
56-
branch: master
57-
configuration: Release
58-
appveyor_repo_tag: true
57+
branch: master

0 commit comments

Comments
 (0)