js-beautify/azure-pipelines.yml

100 lines
2.0 KiB
YAML
Raw Normal View History

2018-11-19 15:00:57 -07:00
# https://aka.ms/yaml
jobs:
- job: 'Windows'
pool:
vmImage: 'windows-latest'
2018-11-19 15:00:57 -07:00
strategy:
matrix:
Python36_Node10:
python.version: '3.6'
python.architecture: 'x64'
node_version: 10.x
Python37_Node12:
2018-11-19 15:00:57 -07:00
python.version: '3.7'
python.architecture: 'x64'
node_version: 12.x
Python38_Node13:
python.version: '3.8'
python.architecture: 'x64'
node_version: 13.x
2018-11-19 15:00:57 -07:00
maxParallel: 6
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
architecture: '$(python.architecture)'
- task: NodeTool@0
inputs:
versionSpec: $(node_version)
# change this to make ci after addressing git CRLF issue
- task: Bash@3
inputs:
targetType: 'inline'
script: 'make all'
- job: 'Linux'
pool:
vmImage: 'ubuntu-latest'
2018-11-19 15:00:57 -07:00
strategy:
matrix:
2020-08-19 14:06:38 -07:00
Python27_Node10:
2018-11-19 15:00:57 -07:00
python.version: '2.7'
node_version: 10.x
2020-08-19 14:06:38 -07:00
Python36_Node12:
python.version: '3.6'
node_version: 12.x
2020-08-19 14:06:38 -07:00
Python37_Node13:
python.version: '3.7'
node_version: 13.x
Python38_Node13:
python.version: '3.8'
node_version: 13.x
2018-11-19 15:00:57 -07:00
maxParallel: 6
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
architecture: 'x64'
- task: NodeTool@0
inputs:
versionSpec: $(node_version)
- task: Bash@3
inputs:
targetType: 'inline'
script: 'make ci'
2018-11-24 00:46:59 -08:00
- job: 'MacOS'
pool:
vmImage: 'macOS-latest'
2018-11-24 00:46:59 -08:00
strategy:
matrix:
2020-08-19 14:06:38 -07:00
Python27_Node10:
2018-11-24 00:46:59 -08:00
python.version: '2.7'
2020-08-19 14:06:38 -07:00
node_version: 10.x
Python37_Node12:
2018-11-24 00:46:59 -08:00
python.version: '3.7'
node_version: 12.x
2020-08-19 14:06:38 -07:00
Python38_Node13:
python.version: '3.8'
node_version: 13.x
2018-11-24 00:46:59 -08:00
maxParallel: 6
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
architecture: 'x64'
- task: NodeTool@0
inputs:
versionSpec: $(node_version)
- task: Bash@3
inputs:
targetType: 'inline'
script: 'make ci'
2018-11-19 15:00:57 -07:00