-
Notifications
You must be signed in to change notification settings - Fork 5
/
.appveyor.yml
39 lines (37 loc) · 1.21 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
version: 0.8-build-{build}
image: Visual Studio 2017
build_script:
- cd C:\projects\tgui-net
- git submodule update --init --recursive
- cd build
- build.bat
- cd ..\tests
- test.bat
- cd ..
- rmdir /S /Q src\obj src\bin
- mkdir "C:\TGUI.Net 0.8-dev"
- mkdir "C:\TGUI.Net 0.8-dev\extlibs"
- xcopy src "C:\TGUI.Net 0.8-dev\src" /Y /s /i > nul
- xcopy examples "C:\TGUI.Net 0.8-dev\examples" /Y /s /i > nul
- xcopy themes "C:\TGUI.Net 0.8-dev\themes" /Y /s /i > nul
- xcopy gui-builder "C:\TGUI.Net 0.8-dev\gui-builder" /Y /s /i > nul
- xcopy lib "C:\TGUI.Net 0.8-dev\lib" /Y /s /i > nul
- xcopy extlibs\lib "C:\TGUI.Net 0.8-dev\extlibs\lib" /Y /s /i > nul
- copy README-precompiled.md "C:\TGUI.Net 0.8-dev\README.txt" /Y > nul
- 7z a -tzip C:\TGUI.Net-0.8-dev-64bit.zip "C:\TGUI.Net 0.8-dev" > nul
- cd "C:\TGUI.Net 0.8-dev\src"
- dotnet pack --configuration=Release
- appveyor PushArtifact C:\TGUI.Net-0.8-dev-64bit.zip
deploy:
- provider: GitHub
tag: nightly_build
release: 'Nightly build'
description: 'Latest nightly build binary'
draft: false
prerelease: true
force_update: true
auth_token:
secure: rVxk6OWc0JLdMi5VXVuWLAvlT1whbHHHNBPgcaJxZoYXJlwK0ixT1w1XdF5S7DBH
on:
branch: master
APPVEYOR_REPO_TAG: false