forked from multitheftauto/mtasa-blue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
39 lines (31 loc) · 1.2 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: ci-{build}
os: Visual Studio 2017
configuration:
- Release
before_build:
- choco install curl
- curl -o utils/DXFiles.zip https://mirror.mtasa.com/bdata/DXFiles.zip
- 7z e utils/DXFiles.zip -outils/DXFiles -spf
- set DXSDK_DIR=%CD%\utils\DXFiles\
- echo Using DXSDK_DIR %DXSDK_DIR%
- utils\premake5 install_cef
- utils\premake5 vs2017
- utils\premake5 install_data
after_build:
- utils\premake5 compose_files
- 7z a InstallFiles.zip InstallFiles
- cmd: if "%APPVEYOR_PULL_REQUEST_TITLE%" == "" if "%APPVEYOR_REPO_TAG%" == "false" curl -i -F "branch_name=%APPVEYOR_REPO_BRANCH%" -F "commit_hash=%APPVEYOR_REPO_COMMIT%" -F "commit_title=%APPVEYOR_REPO_COMMIT_MESSAGE%" -F build_type=windows32 -F "secret=%UPLOAD_SECRET%" -F [email protected] https://nightlytest.mtasa.com/api/upload
clone_depth: 1
build:
parallel: true
project: Build/MTASA.sln
notifications:
- provider: Slack
incoming_webhook:
secure: GMy2h7KrBeqM46INusj3AEZvef5jyFQRUeKqcJjfttHc/Iujje6YN398t7mo5UeMZjkDN2azgcb/R79wU/BvJot8iiu/4AtEBGwLffzrpCw=
artifacts:
- path: InstallFiles.zip
name: MTASA
environment:
UPLOAD_SECRET:
secure: 5PjW2ChD6CvgnKi1T4d19cV6cX8SN6d8N/keVeszzmQ=