Skip to content

Commit

Permalink
Keep single build pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
nishants committed Mar 13, 2021
1 parent e22b56c commit 832a3f5
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 25 deletions.
54 changes: 54 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
trigger:
- master

pr:
- master

stages:
- stage: BuildCore
displayName: "core/build.yml"
jobs:
- job: BuildCore
displayName: "Build grpc-devtool"
timeoutInMinutes: 10
pool:
vmImage: 'ubuntu-18.04'
steps:
- template: core/build.yml

- stage: BuildUi
displayName: "ui/build.yml"
jobs:
- job: BuilUI
displayName: "Webpack build"
timeoutInMinutes: 10
pool:
vmImage: 'ubuntu-18.04'
steps:
- template: ui/build.yml

- stage: BuildApp
displayName: "app/build.yml"
dependsOn: "BuildUi"
jobs:
- job: MacOs
displayName: "MacOs Build - Mojave(macOS-10.14)"
timeoutInMinutes: 10
pool:
vmImage: 'macOS-10.14' # Mojave(macOS-10.14) over Catalina(macOS-10.15)
steps:
- template: app/build.yml
parameters:
buildName: "MacOs"
extension: ".zip"

- job: Windows
displayName: "Windows Build - Windows Server(windows-2019)"
timeoutInMinutes: 10
pool:
vmImage: 'windows-2019'
steps:
- template: app/build.yml
parameters:
buildName: "Windows"
extension: "Setup.exe" # Ignore other files like standalone app/squirrel.exe
25 changes: 0 additions & 25 deletions core/azure-pipelines.yml

This file was deleted.

15 changes: 15 additions & 0 deletions core/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
displayName: 'Install Node.js'

- script: |
cd core
npm install
displayName: 'npm install'
- script: |
cd core
npm test
displayName: 'npm test'

0 comments on commit 832a3f5

Please sign in to comment.