Fix the script issues

coverity_scan
Alexander "Ace" Olofsson 10 years ago
parent db521cddad
commit cd4042109a

@ -1,22 +1,17 @@
#!/bin/bash #!/bin/bash
while [ $# -gt 0 ]; do case $1 in
ARG=$1 x86|i686|win32 )
shift BITS=32 ;;
case $ARG in x64_64|x64|win64 )
x86|i686|win32 ) BITS=64 ;;
BITS=32 ;;
x64_64|x64|win64 ) * )
BITS=64 ;; echo "Unknown platform $ARG."
exit 1 ;;
* ) esac
echo "Unknown arg $ARG."
exit 1 ;;
esac
done
cd $(dirname $0)/../build_$BITS cd $(dirname $0)/../build_$BITS
msbuild OpenMW.sln //t:Build //p:Configuration=Release //m:8 //logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" msbuild OpenMW.sln //t:Build //p:Configuration=$2 //m:8 //logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"

@ -4,6 +4,10 @@ platform:
- Win32 - Win32
- x64 - x64
configuration:
- Debug
- Release
matrix: matrix:
fast_finish: true fast_finish: true
@ -13,8 +17,8 @@ init:
clone_folder: C:\projects\openmw clone_folder: C:\projects\openmw
build: build_script:
- cmd: sh C:\projects\openmw\CI\build.msvc.sh %platform% - cmd: sh C:\projects\openmw\CI\build.msvc.sh %platform% %configuration%
before_build: before_build:
- cmd: sh C:\projects\openmw\CI\before_script.msvc.sh %platform% - cmd: sh C:\projects\openmw\CI\before_script.msvc.sh %platform%

Loading…
Cancel
Save