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

Commit19ce02d

Browse files
authored
Allow sudo on CI Ubuntu to install latest Mono (dotnet#4382)
* rejig mono scripts* upates to ci* upates to ci* upates to ci* use outer-latest for sudo* fix scripts
1 parent929b8c3 commit19ce02d

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

‎fcs/cibuild.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22

33
# note: expects to run from top directory
4-
../mono/latest-mono-stable.sh&& \
4+
./mono/latest-mono-stable.sh&& \
55
./build.sh NuGet

‎mono/cibuild.sh‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#!/bin/bash
22

33
# note: expects to run from top directory
4-
# suitable for Ubuntu 16.04 - get latest Mono stable
5-
../mono/latest-mono-stable.sh&& \
4+
./mono/latest-mono-stable.sh&& \
65
make Configuration=$@&& \
76
sudo make install Configuration=$@&& \
8-
../mono/test-mono.sh
7+
./mono/test-mono.sh

‎netci.groovy‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ def static getBuildJobName(def configuration, def os) {
9797
def skipIfNoTestFiles=true
9898
def skipIfNoBuildOutput=false
9999

100-
def affinity= configuration=='Release_net40_no_vs'?'latest-or-auto': (os=='Windows_NT'?'latest-dev15-5':'latest-or-auto')
100+
// "sudo is not enabled by default on most of the VM images. The outerloop images do have this enabled. The image version (usually 'latest') can be set to 'outer-latest' in this case to enable passwordless sudo, which would enable your scenario."
101+
// https://github.com/Microsoft/visualfsharp/pull/4372#issuecomment-367850885
102+
def affinity= (configuration=='Release_net40_no_vs'?'latest-or-auto': (os=='Windows_NT'?'latest-dev15-5':'outer-latest'))
101103
Utilities.setMachineAffinity(newJob, os, affinity)
102104
Utilities.standardJobSetup(newJob, project, isPullRequest,"*/${branch}")
103105

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp