Skip to content

Commit 1018711

Browse files
committed
autobuild of Windows binaries
1 parent 45db83f commit 1018711

File tree

1 file changed

+34
-2
lines changed

1 file changed

+34
-2
lines changed

appveyor.yml

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,17 @@ build_script:
5454
make -v &&
5555
cc -v &&
5656
ECHO make %MAKE_PARAMS% &&
57-
make %MAKE_PARAMS% &&
58-
make clean
57+
make %MAKE_PARAMS%
58+
)
59+
- if [%COMPILER%]==[gcc] if [%CONFIGURATION%]==[mingw64] (
60+
COPY programs\zstd.exe zstd.exe &&
61+
appveyor PushArtifact zstd.exe
5962
)
63+
- if [%COMPILER%]==[gcc] if [%CONFIGURATION%]==[mingw32] (
64+
COPY programs\zstd.exe zstd32.exe &&
65+
appveyor PushArtifact zstd32.exe
66+
)
67+
- if [%COMPILER%]==[gcc] make clean
6068
- if [%COMPILER%]==[visual] (
6169
ECHO *** &&
6270
ECHO *** Building Visual Studio 2008 %PLATFORM%\%CONFIGURATION% in %APPVEYOR_BUILD_FOLDER% &&
@@ -126,3 +134,27 @@ test_script:
126134
fuzzer_VS2013_%PLATFORM%_Release.exe %FUZZERTEST% &&
127135
fuzzer_VS2015_%PLATFORM%_Release.exe %FUZZERTEST%
128136
)
137+
138+
artifacts:
139+
- path: zstd.exe
140+
- path: zstd32.exe
141+
142+
deploy:
143+
- provider: GitHub
144+
auth_token:
145+
secure: LgJo8emYc3sFnlNWkGl4/VYK3nk/8+RagcsqDlAi3xeqNGNutnKjcftjg84uJoT4
146+
artifact: zstd.exe
147+
force_update: true
148+
on:
149+
COMPILER: gcc
150+
PLATFORM: "mingw64"
151+
appveyor_repo_tag: true
152+
- provider: GitHub
153+
auth_token:
154+
secure: LgJo8emYc3sFnlNWkGl4/VYK3nk/8+RagcsqDlAi3xeqNGNutnKjcftjg84uJoT4
155+
artifact: zstd32.exe
156+
force_update: true
157+
on:
158+
COMPILER: gcc
159+
PLATFORM: "mingw32"
160+
appveyor_repo_tag: true

0 commit comments

Comments
 (0)