Skip to content

Commit

Permalink
test fix appveyor. Part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
q4a committed May 23, 2018
1 parent dbf3177 commit e0d78c2
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,27 @@ environment:
tbs_config: Release
install:
- ps: >-
if($env:tbs_tools -eq 'mingw' -and $env:tbs_arch -eq 'x64xDISABLE') {
if($env:tbs_tools -eq 'mingw' -and $env:tbs_arch -eq 'x64') {
invoke 'curl' '-L -o mw64.7z "http://libgd.blob.core.windows.net/mingw/x86_64-4.9.1-release-posix-seh-rt_v3-rev1.7z"';
invoke '7z' 'x -oC:\ mw64.7z';
}
build_script:
- cmd: "git submodule update --init --recursive &&\nif [%tbs_tools%]==[mingw] if [%tbs_arch%]==[Win32] (\n SET PATH=C:\\MinGW\\bin;%PATH% &&\n ECHO %cd% \n ECHO *** Building %tbs_tools%\\%tbs_arch% &&\n MKDIR bin &&\n cmake .. &&\n make\n) &&\nif [%tbs_tools%]==[mingw] if [%tbs_arch%]==[x64] (\n SET PATH=C:\\mingw64\\bin;%PATH% &&\n ECHO %cd% &&\n ECHO *** Building %tbs_tools%\\%tbs_arch% &&\n MKDIR bin &&\n cmake .. &&\n make &&\n) &&\nif [%tbs_tools%]==[msvc] (\n ECHO %cd% &&\n ECHO *** Building %tbs_tools%\\%tbs_arch%\\%tbs_config% &&\n msbuild \"src\\engine.sln\" /m /verbosity:minimal /property:PlatformToolset=v141 /t:Clean,Build /p:Platform=%tbs_arch% /p:Configuration=%tbs_config% /logger:\"C:\\Program Files\\AppVeyor\\BuildAgent\\Appveyor.MSBuildLogger.dll\"\n)"
- git submodule update --init --recursive
- if [%tbs_tools%]==[mingw] if [%tbs_arch%]==[Win32] (
SET PATH=C:\MinGW\bin;%PATH% &&
MKDIR bin &&
cmake .. &&
make
)
- if [%tbs_tools%]==[mingw] if [%tbs_arch%]==[x64] (
SET PATH=C:\mingw64\bin;%PATH% &&
MKDIR bin &&
cmake .. &&
make &&
)
- if [%tbs_tools%]==[msvc] (
msbuild "src\engine.sln" /m /verbosity:minimal /property:PlatformToolset=v141 /t:Clean,Build /p:Platform=%tbs_arch% /p:Configuration=%tbs_config% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
)
test: off
artifacts:
- path: res/xdOpenXRay.Dx86.7z
Expand Down

0 comments on commit e0d78c2

Please sign in to comment.