mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 18:49:58 +00:00
Fix the script issues
This commit is contained in:
parent
db521cddad
commit
cd4042109a
2 changed files with 16 additions and 17 deletions
|
@ -1,10 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
while [ $# -gt 0 ]; do
|
||||
ARG=$1
|
||||
shift
|
||||
|
||||
case $ARG in
|
||||
case $1 in
|
||||
x86|i686|win32 )
|
||||
BITS=32 ;;
|
||||
|
||||
|
@ -12,11 +8,10 @@ while [ $# -gt 0 ]; do
|
|||
BITS=64 ;;
|
||||
|
||||
* )
|
||||
echo "Unknown arg $ARG."
|
||||
echo "Unknown platform $ARG."
|
||||
exit 1 ;;
|
||||
esac
|
||||
done
|
||||
|
||||
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
|
||||
- x64
|
||||
|
||||
configuration:
|
||||
- Debug
|
||||
- Release
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
||||
|
@ -13,8 +17,8 @@ init:
|
|||
|
||||
clone_folder: C:\projects\openmw
|
||||
|
||||
build:
|
||||
- cmd: sh C:\projects\openmw\CI\build.msvc.sh %platform%
|
||||
build_script:
|
||||
- cmd: sh C:\projects\openmw\CI\build.msvc.sh %platform% %configuration%
|
||||
|
||||
before_build:
|
||||
- cmd: sh C:\projects\openmw\CI\before_script.msvc.sh %platform%
|
||||
|
|
Loading…
Reference in a new issue