diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-11-22 04:51:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-22 04:51:45 +0300 |
commit | 27eed3574d4c5b4fd54f481618e235970438ad66 (patch) | |
tree | 2d4c296934586907ed5516a55a28acc6c26eb2d9 | |
parent | 8ea4864f30d92e3c5a1c293b152b9f3014a56a32 (diff) |
[ci] MSBuild related fixes (#6071)
* [ci] Fix testing of msbuild in run-test-mac-sdk.sh
It contained the old version number and failed on bots that didn't
have leftover old build result.
* [ci] Fix msbuild paths in Windows packaging
They changed with 73bd521c075b30bcbf349bdb7381d3b6b9fc3c69.
-rw-r--r-- | packaging/MacSDK/msbuild.py | 2 | ||||
-rwxr-xr-x | packaging/Windows/defs/managed-components | 12 | ||||
-rwxr-xr-x | scripts/ci/run-test-mac-sdk.sh | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/packaging/MacSDK/msbuild.py b/packaging/MacSDK/msbuild.py index 783941a3c90..ce0da39bbe0 100644 --- a/packaging/MacSDK/msbuild.py +++ b/packaging/MacSDK/msbuild.py @@ -2,7 +2,7 @@ import fileinput class MSBuild (GitHubPackage): def __init__ (self): - GitHubPackage.__init__ (self, 'mono', 'msbuild', '15', + GitHubPackage.__init__ (self, 'mono', 'msbuild', '15', # note: fix scripts/ci/run-test-mac-sdk.sh when bumping the version number revision = '5bb588162eadfc68c6af8895397f4f65f8008b24') def build (self): diff --git a/packaging/Windows/defs/managed-components b/packaging/Windows/defs/managed-components index 87f293f7b79..d61dd18fc3c 100755 --- a/packaging/Windows/defs/managed-components +++ b/packaging/Windows/defs/managed-components @@ -19,9 +19,9 @@ download() report "Downloading Xar" wget --quiet -O ${REPODIR}/xar.tar.gz https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/xar/xar-1.5.2.tar.gz || error "*** Could not download Xar ***" report "Downloading x64 hostfxr.dll" - wget --quiet -O ${REPODIR}/hostfxr-x64.zip https://www.nuget.org/api/v2/package/runtime.win-x64.Microsoft.NETCore.DotNetHostResolver/2.0.0-preview2-25407-01 || error "*** Could not download 64bit hostfxr.dll ***" + wget --quiet -O ${REPODIR}/hostfxr-x64.zip https://www.nuget.org/api/v2/package/runtime.win-x64.Microsoft.NETCore.DotNetHostResolver/2.0.0 || error "*** Could not download 64bit hostfxr.dll ***" report "Downloading x86 hostfxr.dll" - wget --quiet -O ${REPODIR}/hostfxr-x86.zip https://www.nuget.org/api/v2/package/runtime.win-x86.Microsoft.NETCore.DotNetHostResolver/2.0.0-preview2-25407-01 || error "*** Could not download 32bit hostfxr.dll ***" + wget --quiet -O ${REPODIR}/hostfxr-x86.zip https://www.nuget.org/api/v2/package/runtime.win-x86.Microsoft.NETCore.DotNetHostResolver/2.0.0 || error "*** Could not download 32bit hostfxr.dll ***" report "Copying Mono MDK for Mac" cp $1 ${REPODIR}/mono.xar } @@ -82,10 +82,10 @@ install() fi rsync -a --copy-links ${REPODIR}/mono-mac/lib/mono/nuget ${REPODIR}/../../tmp/mono/lib/mono/ rsync -a --copy-links ${REPODIR}/mono-mac/lib/mono/xbuild-frameworks ${REPODIR}/../../tmp/mono/lib/mono/ - rsync -a --copy-links ${REPODIR}/mono-mac/lib/mono/xbuild/Microsoft/NuGet/Microsoft.NuGet* ${REPODIR}/../../tmp/mono/lib/mono/xbuild/ # note: we can't copy the symlink in xbuild/ so we copy the file it points to - rsync -a --copy-links ${REPODIR}/mono-mac/lib/mono/xbuild/NuGet* ${REPODIR}/../../tmp/mono/lib/mono/xbuild/ - rsync -a --copy-links ${REPODIR}/mono-mac/lib/mono/xbuild/Newtonsoft.Json* ${REPODIR}/../../tmp/mono/lib/mono/xbuild/ + rsync -a --copy-links ${REPODIR}/mono-mac/lib/mono/xbuild/deniedAssembliesList.txt ${REPODIR}/../../tmp/mono/lib/mono/xbuild/ rsync -a --copy-links ${REPODIR}/mono-mac/lib/mono/xbuild/15.0 ${REPODIR}/../../tmp/mono/lib/mono/xbuild/ + rsync -a --copy-links ${REPODIR}/mono-mac/lib/mono/xbuild/Microsoft/Microsoft.NET.Build.Extensions ${REPODIR}/../../tmp/mono/lib/mono/xbuild/Microsoft/ + rsync -a --copy-links ${REPODIR}/mono-mac/lib/mono/xbuild/Microsoft/NuGet ${REPODIR}/../../tmp/mono/lib/mono/xbuild/Microsoft/ rsync -a --copy-links ${REPODIR}/mono-mac/lib/mono/xbuild/Microsoft/Portable/VisualStudio ${REPODIR}/../../tmp/mono/lib/mono/xbuild/Microsoft/Portable/ rsync -a --copy-links ${REPODIR}/mono-mac/lib/mono/xbuild/Microsoft/VisualStudio/v/FSharp ${REPODIR}/../../tmp/mono/lib/mono/xbuild/Microsoft/VisualStudio/v/ rsync -a --copy-links ${REPODIR}/mono-mac/lib/mono/xbuild/Microsoft/VisualStudio/v11.0/FSharp ${REPODIR}/../../tmp/mono/lib/mono/xbuild/Microsoft/VisualStudio/v11.0/ @@ -152,7 +152,7 @@ install() rsync -a --copy-links lib/mono/4.5/FSharp.Core.*data lib/mono/gac/FSharp.Core/4.3.0.0__*/ # make sure we didn't miss any files with Mac paths - if grep -R 'Mono\.framework' . --exclude=xbuild.1 --exclude=MSBuild.dll.config; then + if grep -R 'Mono\.framework' . --exclude=xbuild.1 --exclude=MSBuild.dll.config --exclude=macpack.exe; then echo "Found Mac paths in files, please make sure they're fixed." exit 1 fi diff --git a/scripts/ci/run-test-mac-sdk.sh b/scripts/ci/run-test-mac-sdk.sh index b4d81186a5d..186fff5c28d 100755 --- a/scripts/ci/run-test-mac-sdk.sh +++ b/scripts/ci/run-test-mac-sdk.sh @@ -6,7 +6,7 @@ ${TESTCMD} --label=bockbuild --timeout=180m ${MONO_REPO_ROOT}/scripts/mac-sdk-pa export PATH=${MONO_REPO_ROOT}/external/bockbuild/stage/bin:$PATH # Bundled MSBuild -cd ${MONO_REPO_ROOT}/external/bockbuild/builds/msbuild-15.4/ +cd ${MONO_REPO_ROOT}/external/bockbuild/builds/msbuild-15/ ${TESTCMD} --label="msbuild-tests" --timeout=180m ./cibuild.sh --scope Test --host Mono --target Mono # Bundled LLVM |