Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit814aa75

Browse files
authored
Update netci.groovy (dotnet#4373)
1 parent570e5aa commit814aa75

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

‎netci.groovy‎

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import jobs.generation.JobReport;
44
def project=GithubProject
55
def branch=GithubBranchName
66

7-
def osList= ['Windows_NT','Ubuntu16.04']//, 'OSX'], 'CentOS7.1'
7+
def osList= ['Windows_NT','Ubuntu14.04']//, 'OSX'], 'CentOS7.1'
88

99
defstaticgetBuildJobName(defconfiguration,defos) {
1010
return configuration.toLowerCase()+'_'+ os.toLowerCase()
@@ -14,7 +14,7 @@ def static getBuildJobName(def configuration, def os) {
1414
osList.each {os->
1515
def configurations= [];
1616
if (os=='Windows_NT') {
17-
configurations= ['Debug_default','Release_ci_part1','Release_ci_part2','Release_ci_part3','Release_net40_no_vs','Release_fcs' ];
17+
configurations= ['Debug_default','Release_ci_part1','Release_ci_part2','Release_ci_part3','Release_ci_part4','Release_net40_no_vs','Release_fcs' ];
1818
}
1919
else
2020
{
@@ -30,6 +30,13 @@ def static getBuildJobName(def configuration, def os) {
3030
def buildCommand='';
3131
def buildOutput='';
3232
def buildArgs='';
33+
def getMono='
34+
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
35+
echo "deb http://download.mono-project.com/repo/ubuntu stable-trusty main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
36+
sudo apt-get update
37+
sudo apt-get -my install mono-devel
38+
mono --version
39+
'
3340

3441
if (configuration=="Release_fcs"&& branch!="dev15.5") {
3542
// Build and test FCS NuGet package
@@ -38,7 +45,7 @@ def static getBuildJobName(def configuration, def os) {
3845
buildCommand=".\\fcs\\build.cmd TestAndNuget"
3946
}
4047
else {
41-
buildCommand="./fcs/build.sh Build"
48+
buildCommand=getMono+"./fcs/build.sh Build"
4249
}
4350
}
4451
elseif (configuration=="Debug_default") {
@@ -47,7 +54,7 @@ def static getBuildJobName(def configuration, def os) {
4754
buildCommand="build.cmd debug"
4855
}
4956
else {
50-
buildCommand="make Configuration=Debug"
57+
buildCommand=getMono+"make Configuration=Debug"
5158
}
5259
}
5360
elseif (configuration=="Release_default") {
@@ -56,7 +63,7 @@ def static getBuildJobName(def configuration, def os) {
5663
buildCommand="build.cmd release"
5764
}
5865
else {
59-
buildCommand="make Configuration=Release"
66+
buildCommand=getMono+"make Configuration=Release"
6067
}
6168
}
6269
elseif (configuration=="Release_net40_test") {
@@ -75,6 +82,10 @@ def static getBuildJobName(def configuration, def os) {
7582
buildOutput="Release"
7683
buildCommand="build.cmd release ci_part3"
7784
}
85+
elseif (configuration=="Release_ci_part4") {
86+
buildOutput="Release"
87+
buildCommand="build.cmd release ci_part4"
88+
}
7889
elseif (configuration=="Release_net40_no_vs") {
7990
buildOutput="Release"
8091
buildCommand="build.cmd release net40"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp