-
Notifications
You must be signed in to change notification settings - Fork 403
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: [email protected] <[email protected]>
- Loading branch information
Showing
5 changed files
with
98 additions
and
7 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,91 @@ | ||
trigger: | ||
- main | ||
|
||
pool: | ||
vmImage: 'ubuntu-latest' | ||
|
||
jobs: | ||
- job: unitTests | ||
displayName: 'Base build and unit tests' | ||
steps: | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: '10.x' | ||
displayName: 'Install Node.js' | ||
|
||
- script: | | ||
./scripts/check-package-names.sh | ||
displayName: 'check package names' | ||
- script: | | ||
npm install | ||
npm run bootstrap | ||
displayName: 'npm install, bootstrap' | ||
- script: | | ||
./packages/caliper-publish/publish.js version check | ||
displayName: 'version check' | ||
- script: | | ||
npm test | ||
displayName: 'unit test' | ||
- job: fabricIntegration | ||
displayName: 'Fabric Integration Test' | ||
dependsOn: unitTests | ||
variables: { BENCHMARK: fabric } | ||
steps: | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: '10.x' | ||
displayName: 'Install Node.js' | ||
- script: | | ||
.build/benchmark-integration-test-direct.sh | ||
- job: ethereumIntegration | ||
displayName: 'Ethereum Integration Test' | ||
dependsOn: unitTests | ||
variables: { BENCHMARK: ethereum } | ||
steps: | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: '10.x' | ||
displayName: 'Install Node.js' | ||
- script: | | ||
.build/benchmark-integration-test-direct.sh | ||
- job: besuIntegration | ||
displayName: 'Besu Integration Test' | ||
dependsOn: unitTests | ||
variables: { BENCHMARK: besu } | ||
steps: | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: '10.x' | ||
displayName: 'Install Node.js' | ||
- script: | | ||
.build/benchmark-integration-test-direct.sh | ||
- job: fiscoIntegration | ||
displayName: 'FISCO BCOS Integration Test' | ||
dependsOn: unitTests | ||
variables: { BENCHMARK: fisco-bcos } | ||
steps: | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: '10.x' | ||
displayName: 'Install Node.js' | ||
- script: | | ||
.build/benchmark-integration-test-direct.sh | ||
- job: generatorIntegration | ||
displayName: 'Generator Integration Test' | ||
dependsOn: unitTests | ||
variables: { BENCHMARK: generator } | ||
steps: | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: '10.x' | ||
displayName: 'Install Node.js' | ||
- script: | | ||
.build/benchmark-integration-test-direct.sh |