Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- Solution: Rime.sln
- before_script:
- - "echo off"
- - 'echo "Init VS14 Common Tools"'
- - 'call "%VS140COMNTOOLS%\vsvars32.bat"'
- # output environment variables (usefull for debugging, propably not what you want to do if your ci server is public)
- #- echo.
- #- set
- #- echo.
- stages:
- - build
- - test
- - deploy
- build:
- stage: build
- script:
- - echo building...
- - 'msbuild.exe "%Solution%" /p:Configuration=Release /p:Platform=x64 /p:OutputPath="%RIME_BUILD_DIR%"'
- except:
- - tags
- test:
- stage: test
- script:
- - echo testing...
- #- 'msbuild.exe "%Solution%"'
- #- dir /s /b *.Tests.dll | findstr /r Tests\\*\\bin\\ > testcontainers.txt
- #- 'for /f %%f in (testcontainers.txt) do mstest.exe /testcontainer:"%%f"'
- except:
- - tags
- deploy:
- stage: deploy
- script:
- - 'echo confusing...'
- - '%CONFUSER_DIR%\Confuser.CLI.exe cfx.crproj'
- - '%DEEPLOY_DIR%\Deeploy.exe "-I%DEEPLOY_INPUT_DIR%\%CI_BUILD_REF_NAME%" "-O%DEEPLOY_OUTPUT_DIR%\%CI_BUILD_REF_NAME%" "-B%CI_BUILD_ID%" -C"%CI_BUILD_REF%" "-Uhttp://modders.link/u/%CI_BUILD_REF_NAME%"'
- #- 'msbuild.exe "%Solution%" /t:publish'
- ========================================================================================================================
- gitlab-ci-multi-runner 1.3.2 (0323456)
- Using Shell executor...
- E:\Multi-Runner>cmd.exe
- Microsoft Windows [Version 6.3.9600]
- (c) 2013 Microsoft Corporation. All rights reserved.
- E:\Multi-Runner>
- E:\Multi-Runner>cmd.exe
- Microsoft Windows [Version 6.3.9600]
- (c) 2013 Microsoft Corporation. All rights reserved.
Advertisement
Add Comment
Please, Sign In to add comment