Updating the YAML file to run ci and signing.
This commit is contained in:
parent
db5b588e45
commit
b86ce49e8e
6 changed files with 44 additions and 8 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -307,3 +307,5 @@ launchSettings.json
|
||||||
!TestAssets/TestProjects/TestAppWithLibrary/TestApp/TestApp.xproj.user
|
!TestAssets/TestProjects/TestAppWithLibrary/TestApp/TestApp.xproj.user
|
||||||
!TestAssets/TestProjects/PJTestAppSimple/PJTestAppSimple.xproj.user
|
!TestAssets/TestProjects/PJTestAppSimple/PJTestAppSimple.xproj.user
|
||||||
|
|
||||||
|
# Local nuget cache when the build is run as CI
|
||||||
|
.packages
|
|
@ -2,7 +2,7 @@ trigger:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
teamName: Roslyn-Project-System
|
_TeamName: Roslyn-Project-System
|
||||||
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
||||||
PB_PublishBlobFeedKey:
|
PB_PublishBlobFeedKey:
|
||||||
PB_PublishBlobFeedUrl:
|
PB_PublishBlobFeedUrl:
|
||||||
|
@ -58,6 +58,7 @@ jobs:
|
||||||
_BuildArchitecture: arm
|
_BuildArchitecture: arm
|
||||||
_DOTNET_CLI_UI_LANGUAGE: ''
|
_DOTNET_CLI_UI_LANGUAGE: ''
|
||||||
_DropSuffix: ''
|
_DropSuffix: ''
|
||||||
|
_AdditionalBuildParameters: '/p:DisableSourceLink=true'
|
||||||
|
|
||||||
- template: /eng/build.yml
|
- template: /eng/build.yml
|
||||||
parameters:
|
parameters:
|
||||||
|
@ -88,7 +89,7 @@ jobs:
|
||||||
_RuntimeIdentifier: ''
|
_RuntimeIdentifier: ''
|
||||||
_BuildArchitecture: 'x64'
|
_BuildArchitecture: 'x64'
|
||||||
_DropSuffix: ''
|
_DropSuffix: ''
|
||||||
_AdditionalBuildParameters: '-p:DisableSourceLink=true'
|
_AdditionalBuildParameters: '/p:DisableSourceLink=true'
|
||||||
Build_Fedora_27_Debug_x64:
|
Build_Fedora_27_Debug_x64:
|
||||||
_BuildConfig: Debug
|
_BuildConfig: Debug
|
||||||
_DockerParameter: '--docker fedora.27'
|
_DockerParameter: '--docker fedora.27'
|
||||||
|
@ -131,7 +132,7 @@ jobs:
|
||||||
_RuntimeIdentifier: '--runtime-id rhel.6-x64'
|
_RuntimeIdentifier: '--runtime-id rhel.6-x64'
|
||||||
_BuildArchitecture: 'x64'
|
_BuildArchitecture: 'x64'
|
||||||
_DropSuffix: ''
|
_DropSuffix: ''
|
||||||
_AdditionalBuildParameters: '-p:DisableSourceLink=true'
|
_AdditionalBuildParameters: '/p:DisableSourceLink=true'
|
||||||
Build_Arm_Debug:
|
Build_Arm_Debug:
|
||||||
_BuildConfig: Debug
|
_BuildConfig: Debug
|
||||||
_DockerParameter: ''
|
_DockerParameter: ''
|
||||||
|
@ -175,7 +176,7 @@ jobs:
|
||||||
_RuntimeIdentifier: '--runtime-id rhel.6-x64'
|
_RuntimeIdentifier: '--runtime-id rhel.6-x64'
|
||||||
_BuildArchitecture: 'x64'
|
_BuildArchitecture: 'x64'
|
||||||
_DropSuffix: ''
|
_DropSuffix: ''
|
||||||
_AdditionalBuildParameters: '-p:DisableSourceLink=true'
|
_AdditionalBuildParameters: '/p:DisableSourceLink=true'
|
||||||
Build_Arm_Release:
|
Build_Arm_Release:
|
||||||
_BuildConfig: Release
|
_BuildConfig: Release
|
||||||
_DockerParameter: ''
|
_DockerParameter: ''
|
||||||
|
|
|
@ -1,5 +1,12 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<!-- This is a fake version to fool arcade. In this repo, we handle the versioning
|
||||||
|
of assets ourselves, since all we do is generate zips/tarballs and native installers. -->
|
||||||
|
<PropertyGroup>
|
||||||
|
<VersionPrefix>1.0.0</VersionPrefix>
|
||||||
|
<PreReleaseVersionLabel>preview</PreReleaseVersionLabel>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ToolsetVersion>3.0.100-preview-009734</ToolsetVersion>
|
<ToolsetVersion>3.0.100-preview-009734</ToolsetVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
|
@ -69,7 +69,7 @@ phases:
|
||||||
- ${{ if eq(parameters.agentOs, 'Windows_NT') }}:
|
- ${{ if eq(parameters.agentOs, 'Windows_NT') }}:
|
||||||
- script: build.cmd
|
- script: build.cmd
|
||||||
$(TestParameter)
|
$(TestParameter)
|
||||||
-pack -publish
|
-pack -publish -ci
|
||||||
-Configuration $(BuildConfig)
|
-Configuration $(BuildConfig)
|
||||||
-Architecture $(BuildArchitecture)
|
-Architecture $(BuildArchitecture)
|
||||||
$(_PublishArgs)
|
$(_PublishArgs)
|
||||||
|
@ -84,7 +84,7 @@ phases:
|
||||||
- ${{ if eq(parameters.agentOs, 'Linux') }}:
|
- ${{ if eq(parameters.agentOs, 'Linux') }}:
|
||||||
- script: ./build.sh
|
- script: ./build.sh
|
||||||
$(TestParameter)
|
$(TestParameter)
|
||||||
--pack --publish
|
--pack --publish --ci
|
||||||
--noprettyprint
|
--noprettyprint
|
||||||
--configuration $(BuildConfig)
|
--configuration $(BuildConfig)
|
||||||
$(DockerParameter)
|
$(DockerParameter)
|
||||||
|
@ -102,7 +102,7 @@ phases:
|
||||||
- ${{ if eq(parameters.agentOs, 'Darwin') }}:
|
- ${{ if eq(parameters.agentOs, 'Darwin') }}:
|
||||||
- script: ./build.sh
|
- script: ./build.sh
|
||||||
$(TestParameter)
|
$(TestParameter)
|
||||||
--pack --publish
|
--pack --publish --ci
|
||||||
--noprettyprint
|
--noprettyprint
|
||||||
--configuration $(BuildConfig)
|
--configuration $(BuildConfig)
|
||||||
$(_PublishArgs)
|
$(_PublishArgs)
|
||||||
|
|
26
src/redist/targets/packaging/windows/clisdk/_common.ps1
Normal file
26
src/redist/targets/packaging/windows/clisdk/_common.ps1
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
#
|
||||||
|
# Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||||
|
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||||
|
#
|
||||||
|
|
||||||
|
. $PSScriptRoot\_utility.ps1
|
||||||
|
|
||||||
|
# Copy things from environment variables that were sent by the build scripts
|
||||||
|
$Rid = $env:Rid
|
||||||
|
$Tfm = $env:Tfm
|
||||||
|
$OutputDir = $env:OutputDir
|
||||||
|
$Stage1Dir = $env:Stage1Dir
|
||||||
|
$Stage1CompilationDir = $env:Stage1CompilationDir
|
||||||
|
$Stage2Dir = $env:Stage2Dir
|
||||||
|
$Stage2CompilationDir = $env:Stage2CompilationDir
|
||||||
|
$PackageDir = $env:PackageDir
|
||||||
|
$TestBinRoot = $env:TestBinRoot
|
||||||
|
$TestPackageDir = $env:TestPackageDir
|
||||||
|
|
||||||
|
$env:Channel = "$env:RELEASE_SUFFIX"
|
||||||
|
|
||||||
|
# Set reasonable defaults for unset variables
|
||||||
|
setEnvIfDefault "DOTNET_INSTALL_DIR" "$RepoRoot\.dotnet_stage0\win7-x64"
|
||||||
|
setEnvIfDefault "DOTNET_CLI_VERSION" "0.1.0.0"
|
||||||
|
setPathAndHomeIfDefault "$Stage2Dir"
|
||||||
|
setVarIfDefault "CONFIGURATION" "Debug"
|
|
@ -11,7 +11,7 @@ param(
|
||||||
[Parameter(Mandatory=$true)][string]$NupkgFile
|
[Parameter(Mandatory=$true)][string]$NupkgFile
|
||||||
)
|
)
|
||||||
|
|
||||||
. "$PSScriptRoot\..\..\..\scripts\common\_common.ps1"
|
. "$PSScriptRoot\_common.ps1"
|
||||||
$RepoRoot = Convert-Path "$PSScriptRoot\..\..\.."
|
$RepoRoot = Convert-Path "$PSScriptRoot\..\..\.."
|
||||||
$NuGetDir = Join-Path $RepoRoot ".nuget"
|
$NuGetDir = Join-Path $RepoRoot ".nuget"
|
||||||
$NuGetExe = Join-Path $NuGetDir "nuget.exe"
|
$NuGetExe = Join-Path $NuGetDir "nuget.exe"
|
||||||
|
|
Loading…
Reference in a new issue