Merge commit '36bca61764984ff5395653cf8377ec5daa71b709' as 'libs/protobuf'
This commit is contained in:
17
libs/protobuf/kokoro/release/csharp/windows/build_nuget.bat
Normal file
17
libs/protobuf/kokoro/release/csharp/windows/build_nuget.bat
Normal file
@@ -0,0 +1,17 @@
|
||||
@rem enter repo root
|
||||
cd /d %~dp0\..\..\..\..
|
||||
|
||||
cd csharp
|
||||
|
||||
@rem Install dotnet SDK
|
||||
powershell -File install_dotnet_sdk.ps1
|
||||
set PATH=%LOCALAPPDATA%\Microsoft\dotnet;%PATH%
|
||||
|
||||
@rem Disable some unwanted dotnet options
|
||||
set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
|
||||
set DOTNET_CLI_TELEMETRY_OPTOUT=true
|
||||
|
||||
@rem Work around https://github.com/dotnet/core/issues/5881
|
||||
dotnet nuget locals all --clear
|
||||
|
||||
call build_packages.bat
|
||||
11
libs/protobuf/kokoro/release/csharp/windows/common.cfg
Normal file
11
libs/protobuf/kokoro/release/csharp/windows/common.cfg
Normal file
@@ -0,0 +1,11 @@
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/release/csharp/windows/build_nuget.bat"
|
||||
timeout_mins: 60
|
||||
|
||||
action {
|
||||
define_artifacts {
|
||||
regex: "**/*.nupkg"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
11
libs/protobuf/kokoro/release/csharp/windows/release.cfg
Normal file
11
libs/protobuf/kokoro/release/csharp/windows/release.cfg
Normal file
@@ -0,0 +1,11 @@
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/release/csharp/windows/build_nuget.bat"
|
||||
timeout_mins: 60
|
||||
|
||||
action {
|
||||
define_artifacts {
|
||||
regex: "**/*.nupkg"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user