未验证 提交 4a7575bd 编写于 作者: D Don Syme 提交者: GitHub

No longer sudo as no outer-latest jobs are being executed in CI (#4384)

* fix casing of FCS outputs

* no longer sudo, no outer-latest in CI

* no longer sudo, no outer-latest in CI
上级 7fe34655
#!/bin/bash #!/bin/bash
# note: expects to run from top directory # note: expects to run from top directory
./mono/latest-mono-stable.sh && \ #./mono/latest-mono-stable.sh
./build.sh NuGet ./build.sh NuGet
\ No newline at end of file
#!/bin/bash #!/bin/bash
# note: expects to run from top directory # note: expects to run from top directory
./mono/latest-mono-stable.sh && \ #./mono/latest-mono-stable.sh
make Configuration=$@ && \ make Configuration=$@
sudo make install Configuration=$@ && \ #sudo make install Configuration=$@
./mono/test-mono.sh #./mono/test-mono.sh
\ No newline at end of file \ No newline at end of file
...@@ -97,9 +97,14 @@ def static getBuildJobName(def configuration, def os) { ...@@ -97,9 +97,14 @@ def static getBuildJobName(def configuration, def os) {
def skipIfNoTestFiles = true def skipIfNoTestFiles = true
def skipIfNoBuildOutput = false def skipIfNoBuildOutput = false
// "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." // "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."
//
// https://github.com/Microsoft/visualfsharp/pull/4372#issuecomment-367850885 // https://github.com/Microsoft/visualfsharp/pull/4372#issuecomment-367850885
def affinity = (configuration == 'Release_net40_no_vs' ? 'latest-or-auto' : (os == 'Windows_NT' ? 'latest-dev15-5' : 'outer-latest')) //
// However, for now we are still just using 'latest-or-auto'. Unclear if that gives 'sudo' or not.
def affinity = (configuration == 'Release_net40_no_vs' ? 'latest-or-auto' : (os == 'Windows_NT' ? 'latest-dev15-5' : 'latest-or-auto'))
Utilities.setMachineAffinity(newJob, os, affinity) Utilities.setMachineAffinity(newJob, os, affinity)
Utilities.standardJobSetup(newJob, project, isPullRequest, "*/${branch}") Utilities.standardJobSetup(newJob, project, isPullRequest, "*/${branch}")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册