Fix appveyor.xml for x64 Windows CI.
- Change output directory to %CONFIGURATION%_x64 on x64 platform. - Add a new contributor. - Issue #168
This commit is contained in:
parent
15dacf6288
commit
5b989565e5
|
@ -25,6 +25,7 @@
|
||||||
Anders Hasselqvist <anders.hasselqvist@gmail.com>
|
Anders Hasselqvist <anders.hasselqvist@gmail.com>
|
||||||
Bei Li <beil@google.com>
|
Bei Li <beil@google.com>
|
||||||
Gabe Kopley <gabe@philo.com>
|
Gabe Kopley <gabe@philo.com>
|
||||||
|
Haoming Chen <hmchen@google.com>
|
||||||
Jacob Trimble <modmaker@google.com>
|
Jacob Trimble <modmaker@google.com>
|
||||||
Joey Parrish <joeyparrish@google.com>
|
Joey Parrish <joeyparrish@google.com>
|
||||||
Kongqun Yang <kqyang@google.com>
|
Kongqun Yang <kqyang@google.com>
|
||||||
|
|
14
appveyor.yml
14
appveyor.yml
|
@ -18,16 +18,22 @@ install:
|
||||||
before_build:
|
before_build:
|
||||||
- cd ..
|
- cd ..
|
||||||
- depot_tools\gclient config https://github.com/google/shaka-packager.git --name=src --unmanaged
|
- depot_tools\gclient config https://github.com/google/shaka-packager.git --name=src --unmanaged
|
||||||
|
- set GYP_DEFINES='target_arch="%PLATFORM%"'
|
||||||
- depot_tools\gclient sync
|
- depot_tools\gclient sync
|
||||||
|
- if [%PLATFORM%] == [x64] (
|
||||||
|
set "output_directory=%CONFIGURATION%_x64"
|
||||||
|
) else (
|
||||||
|
set "output_directory=%CONFIGURATION%"
|
||||||
|
)
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- cd src
|
- cd src
|
||||||
- ..\depot_tools\ninja -C "out\%CONFIGURATION%" -k 100
|
- ..\depot_tools\ninja -C "out\%OUTPUT_DIRECTORY%" -k 100
|
||||||
- copy "out\%CONFIGURATION%\packager.exe" packager-win.exe
|
- copy "out\%OUTPUT_DIRECTORY%\packager.exe" packager-win.exe
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- for %%f in ("out\%CONFIGURATION%\*_*test.exe") do (%%f || exit /b 666)
|
- for %%f in ("out\%OUTPUT_DIRECTORY%\*_*test.exe") do (%%f || exit /b 666)
|
||||||
- python "out\%CONFIGURATION%\packager_test.py" -v
|
- python "out\%OUTPUT_DIRECTORY%\packager_test.py" -v
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
- path: packager-win.exe
|
- path: packager-win.exe
|
||||||
|
|
Loading…
Reference in New Issue