Set up CI with Azure Pipelines
This commit is contained in:
29
.azure/ci.yml
Normal file
29
.azure/ci.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
trigger:
|
||||
- main
|
||||
pr:
|
||||
- main
|
||||
|
||||
variables:
|
||||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 'true'
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT: 'true'
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
linux:
|
||||
imageName: 'ubuntu-latest'
|
||||
mac:
|
||||
imageName: 'macos-latest'
|
||||
windows:
|
||||
imageName: 'windows-latest'
|
||||
|
||||
pool:
|
||||
vmImage: $(imageName)
|
||||
|
||||
steps:
|
||||
- checkout: self
|
||||
fetchDepth: '0'
|
||||
- pwsh: |
|
||||
npm install
|
||||
npm run format-check
|
||||
npm run build:azure
|
||||
displayName: 'Build code'
|
||||
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@@ -25,7 +25,6 @@ jobs:
|
||||
npm install
|
||||
npm run format-check
|
||||
npm run build:github
|
||||
npm run build:azure
|
||||
name: Build code
|
||||
- name: Install GitVersion
|
||||
uses: ./gitversion/setup
|
||||
|
||||
6
.vscode/settings.json
vendored
Normal file
6
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"yaml.schemas": {
|
||||
"file:///c%3A/Users/Artur.Stolear/.vscode/extensions/docsmsft.docs-yaml-0.2.9/out/yaml-support/toc.schema.json": "/toc\\.yml/i",
|
||||
"https://raw.githubusercontent.com/microsoft/azure-pipelines-vscode/master/service-schema.json": "file:///d%3A/Projects/OSS/GitTools/actions/.azure/ci.yml"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user