Appveyor use a different directory for build

This commit is contained in:
Gioacchino Mazzurco 2019-11-28 19:51:22 +01:00
parent 6464870cf9
commit 2cca38c2a6
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051

View File

@ -140,6 +140,10 @@ configuration: Release
# scripts to run before build # scripts to run before build
before_build: before_build:
- cd C:\projects\RetroShare - cd C:\projects\RetroShare
- git submodule update --init
- cd C:\projects\
- mkdir RetroShare-build
- cd RetroShare-build
# - find C:\ > filelist.txt # - find C:\ > filelist.txt
# scripts to run *after* solution is built and *before* automatic packaging occurs (web apps, NuGet packages, Azure Cloud Services) # scripts to run *after* solution is built and *before* automatic packaging occurs (web apps, NuGet packages, Azure Cloud Services)
@ -148,14 +152,12 @@ before_package:
# to run your custom scripts instead of automatic MSBuild # to run your custom scripts instead of automatic MSBuild
build_script: build_script:
- env - env
- git submodule update --init - qmake ../RetroShare -spec win32-g++ "CONFIG+=debug"
- qmake -spec win32-g++ "CONFIG+=debug"
- mingw32-make -j3 - mingw32-make -j3
# scripts to run after build # scripts to run after build
after_build: after_build:
- find C:\projects\RetroShare >> filelist.txt - find .
- cat filelist.txt
- mkdir %RS_DEPLOY% - mkdir %RS_DEPLOY%
- copy retroshare-service\src\retroshare-service.exe %RS_DEPLOY%\ - copy retroshare-service\src\retroshare-service.exe %RS_DEPLOY%\