forked from MirrorNetworking/Mirror
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
47 lines (36 loc) · 1.12 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
version: '{branch}-{build}'
#init:
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
install:
- set PATH=C:\Ruby25-x64\bin;%PATH%
- cd docs
- gem install bundler -v 1.17.3
- bundle install
- cd ..
- cp c:\Tools\curl\bin\libcurl.dll C:\Ruby25-x64\bin
- choco install unitypackager
#build:
# project: Mirror/Networking.sln
# verbosity: minimal
# Do not build on tags (GitHub only)
skip_tags: true
build_script:
- cd docs
- bundle exec jekyll build
- ruby checksite.rb
- cd ..
after_build:
- RMDIR /Q /S Assets\Mirror\Tests
- del /F /Q Assets\Mirror\Tests.meta
- UnityPackager pack Mirror.unitypackage Assets/Mirror Assets/Mirror LICENSE Assets/Mirror/LICENSE
artifacts:
- path: Mirror.unitypackage
- path: Assets
name: Mirror
image: Visual Studio 2017
before_deploy:
- npm install -g semantic-release@15
deploy_script:
- semantic-release