-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.Linux.jenkins.sh
executable file
·41 lines (27 loc) · 1.18 KB
/
build.Linux.jenkins.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
set -e
PLATFRM="Any CPU"
nuget restore -PackagesDirectory packages packages.config
nuget restore -PackagesDirectory packages UT/packages.config
# make dependencies
git submodule update --remote
cd ext/openssl-net.git/; ./build.Linux.jenkins.sh
cd ../..
cd ext/prngsharp.git/; ./build.Linux.jenkins.sh
cd ../..
# build
sn -k base/eLyKseeR.snk
sn -k native/eLyKseeR-native.snk
sn -k UT/ut.snk
xbuild /t:clean /p:Configuration="Debug" /p:Platform="${PLATFRM}" base/eLyKseeR-base.Linux.sln
xbuild /p:Configuration="Debug" /p:Platform="${PLATFRM}" base/eLyKseeR-base.Linux.sln
mono packages/NUnit.ConsoleRunner.3.10.0/tools/nunit3-console.exe UT/bin/Debug/UT.exe
# NUnit test results in: TestResult.xml
sn -k cli/LXRbackup/LXRbackup.snk
sn -k cli/LXRrestore/LXRrestore.snk
xbuild /t:clean /p:Configuration="Debug" /p:Platform="${PLATFRM}" cli/elykseer-cli.Mono.sln
xbuild /p:Configuration="Debug" /p:Platform="${PLATFRM}" cli/elykseer-cli.Mono.sln
sn -k gui/LXRbackup/LXRbackup.snk
sn -k gui/LXRrestore/LXRrestore.snk
xbuild /t:clean /p:Configuration="Debug" /p:Platform="${PLATFRM}" gui/LXR_GUIs.Mono.sln
xbuild /p:Configuration="Debug" /p:Platform="${PLATFRM}" gui/LXR_GUIs.Mono.sln