Skip to content

Commit

Permalink
ci: настроен скрипт ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
abramcumner committed Mar 18, 2020
1 parent bd62201 commit d61e70c
Showing 1 changed file with 2 additions and 46 deletions.
48 changes: 2 additions & 46 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ environment:
BOOST_1_71_0: 'C:\Libraries\boost_1_71_0'
before_build:
- cmd: >-
set CI=1
for /f "tokens=1-3 delims=-" %%i in ('git describe --always --tags') do (set GIT_LAST_TAG=%%i&set GIT_COMMIT_HASH=%%k)
for /f %%i in ('git rev-list --count HEAD') do set GIT_COMMITS_COUNT=%%i
Expand Down Expand Up @@ -63,55 +65,9 @@ after_build:
copy gamedata\scripts\* dist\engine\gamedata\scripts\
7z a cop_%GIT_LAST_TAG%_%COR_PLAT%.7z dist\engine\*
echo ===================== sdk files =====================
md dist\sdk_%COR_PLAT%
copy SDK\binaries\%COR_PLAT%\MagicFM.dll dist\sdk_%COR_PLAT%\
copy SDK\binaries\%COR_PLAT%\nvtt.dll dist\sdk_%COR_PLAT%\
copy SDK\binaries\%COR_PLAT%\%BUGTRAP% dist\sdk_%COR_PLAT%\
copy SDK\binaries\%COR_PLAT%\lua51.dll dist\sdk_%COR_PLAT%\
md dist\sdk_%COR_PLAT%\lua\jit
copy SDK\binaries\%COR_PLAT%\lua\jit\* dist\sdk_%COR_PLAT%\lua\jit\
copy intermediate\%PLATFORM%-%CONFIGURATION%\xrCore.dll dist\sdk_%COR_PLAT%\
copy intermediate\%PLATFORM%-%CONFIGURATION%\xrCore.pdb dist\sdk_%COR_PLAT%\
copy intermediate\%PLATFORM%-%CONFIGURATION%\xrCDB.dll dist\sdk_%COR_PLAT%\
copy intermediate\%PLATFORM%-%CONFIGURATION%\xrCDB.pdb dist\sdk_%COR_PLAT%\
copy intermediate\%PLATFORM%-%CONFIGURATION%\xrAPI.dll dist\sdk_%COR_PLAT%\
copy intermediate\%PLATFORM%-%CONFIGURATION%\xrAPI.pdb dist\sdk_%COR_PLAT%\
copy intermediate\%PLATFORM%-%CONFIGURATION%\xrXMLParser.dll dist\sdk_%COR_PLAT%\
copy intermediate\%PLATFORM%-%CONFIGURATION%\xrXMLParser.pdb dist\sdk_%COR_PLAT%\
copy intermediate\%PLATFORM%-%CONFIGURATION%\luabind.0.9.dll dist\sdk_%COR_PLAT%\
copy intermediate\%PLATFORM%-%CONFIGURATION%\luabind.0.9.pdb dist\sdk_%COR_PLAT%\
copy intermediate\%PLATFORM%-%CONFIGURATION%\SDK\*.exe dist\sdk_%COR_PLAT%\
copy intermediate\%PLATFORM%-%CONFIGURATION%\SDK\*.dll dist\sdk_%COR_PLAT%\
copy intermediate\%PLATFORM%-%CONFIGURATION%\SDK\*.pdb dist\sdk_%COR_PLAT%\
7z a cop_compilers_%GIT_LAST_TAG%_%COR_PLAT%.7z dist\sdk_%COR_PLAT%\*
artifacts:
- path: .\cop_$(git_last_tag)_$(cor_plat).7z
name: release
- path: .\cop_compilers_$(git_last_tag)_$(cor_plat).7z
name: release
deploy:
- provider: GitHub
auth_token:
Expand Down

0 comments on commit d61e70c

Please sign in to comment.