Skip to content

Commit

Permalink
Jenkins build updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmatzen committed Aug 5, 2016
1 parent c4efe65 commit 85d31bf
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 34 deletions.
29 changes: 0 additions & 29 deletions jenkins/build.bat

This file was deleted.

35 changes: 35 additions & 0 deletions jenkins/build.sh
@@ -0,0 +1,35 @@
#!/bin/sh
rm -rf build dist *.zip

echo "updating git modules"
git submodule init
git submodule update
echo "building..."
rm -rf build
mkdir build
cd build

build () {
echo building $1
if [ $1 == 'x86_64' ]; then
cmake -G "Visual Studio 14 2015 Win64" ..
elif [ $1 == 'x86' ]; then
cmake -G "Visual Studio 14 2015" ..
fi
msbuild.exe trace-client.sln /p:Configuration=Release;OutputPath=foo
mkdir -p ../dist/bin/$1
cp bin/Release/ayxiatrace.dll ../dist/bin/$1
cp bin/Release/sample_*.exe ../dist/bin/$1
mkdir -p ../dist/lib/$1
cp bin/Release/ayxiatrace.lib ../dist/lib/$1
cp bin/Release/libuv.lib ../dist/lib/$1
}

build x86
build x86_64

mkdir -p ../dist/include
cp -r ../include/ ../dist/include

cd ../dist
zip -r ../ayxia-client-sdk-`git describe --abbrev=0 --tags`.zip *
5 changes: 0 additions & 5 deletions jenkins/ver.sh

This file was deleted.

0 comments on commit 85d31bf

Please sign in to comment.