Skip to content
Snippets Groups Projects
Select Git revision
  • 453a926d3b96c8850e5291bcfce26f9f1564d108
  • master default protected
  • arm-aarch-platform
  • arm-platform
  • vjpai-patch-3
  • vjpai-patch-1
  • v1.27.x
  • jtattermusch-patch-2
  • jtattermusch-patch-1
  • update-java-worker-example-in-performance-docs
  • revert-21805-revert-21797-reintroduce_21527
  • revert-21804-tls-credentials-1
  • zhen_cleanup_namecheck
  • revert-21806-revert-21767-revert-21725-revert-21680-cq_ordering
  • vjpai-patch-2
  • revert-21766-tls-credentials-1
  • revert-21640-change_local_tcp_security_level
  • revert-21680-cq_ordering
  • revert-21527-unify_boringssl_deps2
  • revert-20803-grpclb_stabilization
  • fix-kokoro-rvm-key
  • v1.27.0
  • v1.27.0-pre2
  • v1.27.0-pre1
  • v1.26.0
  • v1.26.0-pre1
  • v1.25.0
  • v1.25.0-pre1
  • v1.24.3
  • v1.24.2
  • v1.24.1
  • v1.23.1
  • v1.24.0
  • v1.24.0-pre2
  • v1.24.0-pre1
  • v1.22.1
  • v1.23.0
  • v1.23.0-pre1
  • v1.22.0
  • v1.22.0-pre1
  • v1.21.4
41 results

interop_test_runner.sh

Blame
  • build_packages_dotnetcli.sh NaN GiB
    #!/bin/bash
    # Copyright 2016 gRPC authors.
    #
    # Licensed under the Apache License, Version 2.0 (the "License");
    # you may not use this file except in compliance with the License.
    # You may obtain a copy of the License at
    #
    #     http://www.apache.org/licenses/LICENSE-2.0
    #
    # Unless required by applicable law or agreed to in writing, software
    # distributed under the License is distributed on an "AS IS" BASIS,
    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    set -ex
    
    cd $(dirname $0)
    
    mkdir -p ../../artifacts/
    
    # Collect the artifacts built by the previous build step
    mkdir -p nativelibs
    cp -r $EXTERNAL_GIT_ROOT/platform={windows,linux,macos}/artifacts/csharp_ext_* nativelibs || true
    
    # Collect protoc artifacts built by the previous build step
    mkdir -p protoc_plugins
    cp -r $EXTERNAL_GIT_ROOT/platform={windows,linux,macos}/artifacts/protoc_* protoc_plugins || true
    
    dotnet restore Grpc.sln
    
    # To be able to build, we also need to put grpc_csharp_ext to its normal location
    mkdir -p ../../libs/opt
    cp nativelibs/csharp_ext_linux_x64/libgrpc_csharp_ext.so ../../libs/opt
    
    dotnet pack --configuration Release Grpc.Core --output ../../../artifacts
    dotnet pack --configuration Release Grpc.Core.Testing --output ../../../artifacts
    dotnet pack --configuration Release Grpc.Auth --output ../../../artifacts
    dotnet pack --configuration Release Grpc.HealthCheck --output ../../../artifacts
    dotnet pack --configuration Release Grpc.Reflection --output ../../../artifacts
    
    nuget pack Grpc.nuspec -Version "1.5.0-dev" -OutputDirectory ../../artifacts
    nuget pack Grpc.Tools.nuspec -Version "1.5.0-dev" -OutputDirectory ../../artifacts
    
    (cd ../../artifacts && zip csharp_nugets_dotnetcli.zip *.nupkg)