@reason-native/cli
Version:
[](https://dev.azure.com/reason-native/reason-native/_build/latest?definitionId=1?branchName=master) ![Supported Plat
42 lines (36 loc) • 954 B
YAML
name: Build npm release
trigger:
- master
- global
- release-*
- releases-*
- feature-*
jobs:
- template: .ci/build-platform.yml
parameters:
platform: Linux
vmImage: ubuntu-16.04
- template: .ci/build-platform.yml
parameters:
platform: macOS
vmImage: macOS-10.13
# Need windows-2019 to do esy import/export-dependencies
# which assumes you have bsdtar (tar.exe) in your system
# otherwise it will end up using the esy-bash tar which doesn't
# understand drives like D:/ (thinks it's an scp path).
- template: .ci/build-platform.yml
parameters:
platform: Windows
vmImage: windows-2019
# This job is kept here as we want to have the platform names in the same file
- job: Release
displayName: Release
dependsOn:
- Linux
- macOS
- Windows
pool:
vmImage: macOS-10.13
demands: node.js
steps:
- template: .ci/cross-release.yml