-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3350 from AElfProject/release/1.2.2
Release v1.2.2
- Loading branch information
Showing
176 changed files
with
5,865 additions
and
7,492 deletions.
There are no files selected for viewing
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 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 |
---|---|---|
@@ -1,102 +1,48 @@ | ||
# File: azure-pipelines.yml | ||
jobs: | ||
# All tasks on Windows.... | ||
- job: build_all_windows | ||
displayName: Build all tasks (Windows) | ||
timeoutInMinutes: 120 | ||
pool: | ||
vmImage: windows-latest | ||
variables: | ||
CI_TEST: true | ||
steps: | ||
- task: UseDotNet@2 | ||
displayName: 'Install .NET Core SDK' | ||
inputs: | ||
version: 6.0.x | ||
- script: choco install protoc --version=3.19.4 -y | ||
displayName: 'Install protobuf' | ||
- script: choco install unzip | ||
displayName: 'Install unzip' | ||
- task: BatchScript@1 | ||
displayName: 'Download AElf build tools' | ||
inputs: | ||
filename: 'scripts/download_binary.bat' | ||
- script: PowerShell.exe -file build.ps1 -target=Test-with-Codecov-N --parts=3 --n=1 | ||
displayName: 'Build and Test' | ||
- task: PublishTestResults@2 | ||
condition: always() | ||
inputs: | ||
testRunner: VSTest | ||
testResultsFiles: '**/*.trx' | ||
|
||
- task: Palmmedia.reportgenerator.reportgenerator-build-release-task.reportgenerator@4 | ||
displayName: ReportGenerator | ||
inputs: | ||
reports: '$(Build.SourcesDirectory)/test/*/TestResults/*/coverage.cobertura.xml' | ||
targetdir: '$(Build.SourcesDirectory)/CodeCoverage' | ||
reporttypes: 'Cobertura' | ||
assemblyfilters: '-xunit*' | ||
- script: PowerShell.exe -file build.ps1 -target=Upload-Coverage-Azure | ||
displayName: 'Upload data to Codecov' | ||
# All tasks on Linux | ||
- job: build_all_linux | ||
displayName: Build all tasks (Linux) | ||
timeoutInMinutes: 120 | ||
pool: | ||
vmImage: ubuntu-latest | ||
steps: | ||
- task: UseDotNet@2 | ||
displayName: 'Install .NET Core SDK' | ||
inputs: | ||
version: 6.0.x | ||
- script: bash scripts/install_protobuf.sh | ||
- script: bash scripts/download_binary.sh | ||
- script: bash build.sh -target=Test-with-Codecov-N --parts=3 --n=2 | ||
displayName: 'Build and Test' | ||
- task: PublishTestResults@2 | ||
condition: always() | ||
inputs: | ||
testRunner: VSTest | ||
testResultsFiles: '**/*.trx' | ||
|
||
- task: Palmmedia.reportgenerator.reportgenerator-build-release-task.reportgenerator@4 | ||
displayName: ReportGenerator | ||
inputs: | ||
reports: '$(Build.SourcesDirectory)/test/*/TestResults/*/coverage.cobertura.xml' | ||
targetdir: '$(Build.SourcesDirectory)/CodeCoverage' | ||
reporttypes: 'Cobertura' | ||
assemblyfilters: '-xunit*' | ||
- script: bash build.sh -target=Upload-Coverage-Azure | ||
displayName: 'Upload data to Codecov' | ||
|
||
# All tasks on macOS | ||
- job: build_all_darwin | ||
displayName: Build all tasks (macOS) | ||
timeoutInMinutes: 120 | ||
pool: | ||
vmImage: macos-latest | ||
variables: | ||
CI_TEST: true | ||
steps: | ||
- task: UseDotNet@2 | ||
displayName: 'Install .NET Core SDK' | ||
inputs: | ||
version: 6.0.x | ||
- script: bash scripts/install_protobuf.sh | ||
- script: bash scripts/download_binary.sh | ||
- script: bash build.sh -target=Test-with-Codecov-N --parts=3 --n=3 | ||
displayName: 'Build and Test' | ||
- task: PublishTestResults@2 | ||
condition: always() | ||
inputs: | ||
testRunner: VSTest | ||
testResultsFiles: '**/*.trx' | ||
|
||
- task: Palmmedia.reportgenerator.reportgenerator-build-release-task.reportgenerator@4 | ||
displayName: ReportGenerator | ||
inputs: | ||
reports: '$(Build.SourcesDirectory)/test/*/TestResults/*/coverage.cobertura.xml' | ||
targetdir: '$(Build.SourcesDirectory)/CodeCoverage' | ||
reporttypes: 'Cobertura' | ||
assemblyfilters: '-xunit*' | ||
- script: bash build.sh -target=Upload-Coverage-Azure | ||
displayName: 'Upload data to Codecov' | ||
- template: templates/build-template-window.yml | ||
parameters: | ||
parts: 3 | ||
n: 1 | ||
codecoverage: true | ||
- template: templates/build-template-window.yml | ||
parameters: | ||
parts: 3 | ||
n: 2 | ||
codecoverage: true | ||
- template: templates/build-template-window.yml | ||
parameters: | ||
parts: 3 | ||
n: 3 | ||
codecoverage: false | ||
- template: templates/build-template-linux.yml | ||
parameters: | ||
parts: 3 | ||
n: 1 | ||
codecoverage: true | ||
- template: templates/build-template-linux.yml | ||
parameters: | ||
parts: 3 | ||
n: 2 | ||
codecoverage: false | ||
- template: templates/build-template-linux.yml | ||
parameters: | ||
parts: 3 | ||
n: 3 | ||
codecoverage: false | ||
- template: templates/build-template-macos.yml | ||
parameters: | ||
parts: 3 | ||
n: 1 | ||
codecoverage: true | ||
- template: templates/build-template-macos.yml | ||
parameters: | ||
parts: 3 | ||
n: 2 | ||
codecoverage: true | ||
- template: templates/build-template-macos.yml | ||
parameters: | ||
parts: 3 | ||
n: 3 | ||
codecoverage: true | ||
|
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 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 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
Oops, something went wrong.