-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
86 additions
and
99 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
steps: | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: 12.x | ||
|
||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '2.7' | ||
architecture: 'x64' | ||
|
||
- bash: | | ||
node scripts/bootstrap.js --target-cpu=$TARGET_CPU | ||
node scripts/build.js out/Release | ||
displayName: Build | ||
|
||
- script: node scripts/create_dist.js | ||
displayName: Create distribution | ||
|
||
- script: node scripts/test.js | ||
displayName: Run tests | ||
|
||
- bash: | | ||
BRANCH=$(Build.SourceBranch) | ||
TAG=${BRANCH:10} | ||
echo "##vso[task.setvariable variable=Name;isOutput=true]$TAG" | ||
displayName: Get Tag Name | ||
name: Tag | ||
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/') | ||
|
||
- task: GithubRelease@0 | ||
displayName: Create GitHub Release | ||
condition: startsWith(variables['Tag.Name'], 'v') | ||
inputs: | ||
gitHubConnection: GitHub Yue | ||
repositoryName: yue/build-gn | ||
action: Edit | ||
tagSource: auto | ||
tag: $(Tag.Name) | ||
title: GN $(Tag.name) | ||
releaseNotesSource: input | ||
releaseNotes: (placeholder) | ||
assets: 'out/Release/*.zip' | ||
assetUploadMode: replace | ||
isDraft: true | ||
addChangelog: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
trigger: | ||
- refs/heads/* | ||
- refs/pull/*/merge | ||
- refs/tags/* | ||
|
||
jobs: | ||
- job: windows_build | ||
displayName: 'Build for Windows' | ||
pool: | ||
vmImage: 'VS2017-Win2016' | ||
strategy: | ||
matrix: | ||
x64: | ||
TARGET_CPU: x64 | ||
steps: | ||
- template: azure-pipelines-template.yml | ||
|
||
- job: macos_build | ||
displayName: 'Build for macOS' | ||
pool: | ||
vmImage: 'macOS-10.14' | ||
strategy: | ||
matrix: | ||
x64: | ||
TARGET_CPU: x64 | ||
steps: | ||
- template: azure-pipelines-template.yml | ||
|
||
- job: linux_build | ||
displayName: 'Build for Linux' | ||
pool: | ||
vmImage: 'ubuntu-18.04' | ||
strategy: | ||
matrix: | ||
x64: | ||
TARGET_CPU: x64 | ||
steps: | ||
- template: azure-pipelines-template.yml |
Submodule base
updated
7 files
+1 −1 | files/dir_reader_posix_unittest.cc | |
+0 −9 | mac/foundation_util.h | |
+1 −1 | metrics/sparse_histogram_unittest.cc | |
+41 −37 | metrics/statistics_recorder.cc | |
+11 −32 | metrics/statistics_recorder.h | |
+33 −25 | metrics/statistics_recorder_unittest.cc | |
+1 −1 | test/histogram_tester.cc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters