Skip to content
Snippets Groups Projects
Commit 520ece60 authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

switch distribtests to use nugets generated by dotnet cli

parent de9ce9f9
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,10 @@ ...@@ -29,6 +29,10 @@
@rem Builds gRPC NuGet packages @rem Builds gRPC NuGet packages
@rem This way of building nuget packages is now obsolete. C# nuget packages
@rem with CoreCLR support are now being built using the dotnet cli
@rem in build_packages_dotnetcli.sh
@rem Current package versions @rem Current package versions
set VERSION=1.1.0-dev set VERSION=1.1.0-dev
set PROTOBUF_VERSION=3.0.0 set PROTOBUF_VERSION=3.0.0
...@@ -77,8 +81,8 @@ endlocal ...@@ -77,8 +81,8 @@ endlocal
xcopy /Y /I *.nupkg ..\..\artifacts\ xcopy /Y /I *.nupkg ..\..\artifacts\
@rem create a zipfile with the artifacts as well @rem create a zipfile with the artifacts as well
powershell -Command "Add-Type -Assembly 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::CreateFromDirectory('..\..\artifacts', 'csharp_nugets.zip');" powershell -Command "Add-Type -Assembly 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::CreateFromDirectory('..\..\artifacts', 'csharp_nugets_obsolete.zip');"
xcopy /Y /I csharp_nugets.zip ..\..\artifacts\ xcopy /Y /I csharp_nugets_obsolete.zip ..\..\artifacts\
goto :EOF goto :EOF
......
...@@ -34,9 +34,6 @@ cd $(dirname $0) ...@@ -34,9 +34,6 @@ cd $(dirname $0)
mkdir -p ../../artifacts/ mkdir -p ../../artifacts/
# IMPORTANT: NuGet packages generated by dotnet CLI are considered experimental.
# The official nugets are generated by src/csharp/build_packages.bat
mkdir -p nativelibs/windows_x86 nativelibs/windows_x64 \ mkdir -p nativelibs/windows_x86 nativelibs/windows_x64 \
nativelibs/linux_x86 nativelibs/linux_x64 \ nativelibs/linux_x86 nativelibs/linux_x64 \
nativelibs/macosx_x86 nativelibs/macosx_x64 nativelibs/macosx_x86 nativelibs/macosx_x64
......
...@@ -31,6 +31,10 @@ ...@@ -31,6 +31,10 @@
@rem Builds gRPC NuGet packages @rem Builds gRPC NuGet packages
@rem This way of building nuget packages is now obsolete. C# nuget packages
@rem with CoreCLR support are now being built using the dotnet cli
@rem in build_packages_dotnetcli.sh
@rem Current package versions @rem Current package versions
set VERSION=${settings.csharp_version} set VERSION=${settings.csharp_version}
set PROTOBUF_VERSION=3.0.0 set PROTOBUF_VERSION=3.0.0
...@@ -79,8 +83,8 @@ ...@@ -79,8 +83,8 @@
xcopy /Y /I *.nupkg ..\..\artifacts${"\\"} xcopy /Y /I *.nupkg ..\..\artifacts${"\\"}
@rem create a zipfile with the artifacts as well @rem create a zipfile with the artifacts as well
powershell -Command "Add-Type -Assembly 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::CreateFromDirectory('..\..\artifacts', 'csharp_nugets.zip');" powershell -Command "Add-Type -Assembly 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::CreateFromDirectory('..\..\artifacts', 'csharp_nugets_obsolete.zip');"
xcopy /Y /I csharp_nugets.zip ..\..\artifacts${"\\"} xcopy /Y /I csharp_nugets_obsolete.zip ..\..\artifacts${"\\"}
goto :EOF goto :EOF
......
...@@ -36,9 +36,6 @@ ...@@ -36,9 +36,6 @@
mkdir -p ../../artifacts/ mkdir -p ../../artifacts/
# IMPORTANT: NuGet packages generated by dotnet CLI are considered experimental.
# The official nugets are generated by src/csharp/build_packages.bat
mkdir -p nativelibs/windows_x86 nativelibs/windows_x64 ${"\\"} mkdir -p nativelibs/windows_x86 nativelibs/windows_x64 ${"\\"}
nativelibs/linux_x86 nativelibs/linux_x64 ${"\\"} nativelibs/linux_x86 nativelibs/linux_x64 ${"\\"}
nativelibs/macosx_x86 nativelibs/macosx_x64 nativelibs/macosx_x86 nativelibs/macosx_x64
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
cd /d %~dp0 cd /d %~dp0
@rem extract input artifacts @rem extract input artifacts
powershell -Command "Add-Type -Assembly 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::ExtractToDirectory('../../../input_artifacts/csharp_nugets.zip', 'TestNugetFeed');" powershell -Command "Add-Type -Assembly 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::ExtractToDirectory('../../../input_artifacts/csharp_nugets_dotnetcli.zip', 'TestNugetFeed');"
update_version.sh auto update_version.sh auto
......
...@@ -32,7 +32,7 @@ set -ex ...@@ -32,7 +32,7 @@ set -ex
cd $(dirname $0) cd $(dirname $0)
unzip -o "$EXTERNAL_GIT_ROOT/input_artifacts/csharp_nugets.zip" -d TestNugetFeed unzip -o "$EXTERNAL_GIT_ROOT/input_artifacts/csharp_nugets_dotnetcli.zip" -d TestNugetFeed
./update_version.sh auto ./update_version.sh auto
......
...@@ -32,7 +32,7 @@ set -ex ...@@ -32,7 +32,7 @@ set -ex
cd $(dirname $0) cd $(dirname $0)
unzip -o "$EXTERNAL_GIT_ROOT/input_artifacts/csharp_nugets.zip" -d TestNugetFeed unzip -o "$EXTERNAL_GIT_ROOT/input_artifacts/csharp_nugets_dotnetcli.zip" -d TestNugetFeed
./update_version.sh auto ./update_version.sh auto
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment