forked from samp-incognito/samp-streamer-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
36 lines (30 loc) · 1.04 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
version: '{build}'
image: Visual Studio 2015
configuration:
- Debug
- Release
install:
- git submodule update --init --recursive . ":(exclude)lib/boost"
before_build:
- mkdir build && cd build
- git rev-parse --short %APPVEYOR_REPO_COMMIT%>%TMP%/short.txt
- set /p APPVEYOR_REPO_COMMIT_SHORT=<%TMP%/short.txt
- cmake .. -G "Visual Studio 14 2015" -DCPACK_OUTPUT_FILE_POSTFIX=%CONFIGURATION% -DBOOST_ROOT="C:\Libraries\boost_1_65_1" -DEIGEN3_INCLUDE_DIR="%APPVEYOR_BUILD_FOLDER%\lib\eigen" -DCOMMIT_ID="%APPVEYOR_REPO_COMMIT_SHORT%"
build_script:
- cmake --build . --config %CONFIGURATION% --target streamer_unity
- cmake --build . --config %CONFIGURATION% --target package
- cd ..
artifacts:
- path: build\package
deploy:
- provider: BinTray
username: incognito
api_key:
secure: e0xOM0EZQFdpPDMOnEH6Zi8QD8YMMnSflcXFODRfwE/dHpWyNf25yNrSMR6gKjAT
subject: incognito
repo: streamer-plugin
package: streamer-plugin
version: $(APPVEYOR_REPO_COMMIT_SHORT)
publish: true
override: true
explode: true