diff --git a/.azure/ci.yml b/.azure/ci.yml new file mode 100644 index 000000000..a5acbbbfe --- /dev/null +++ b/.azure/ci.yml @@ -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' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e582d822f..b7fc1002d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..0c70f0f2c --- /dev/null +++ b/.vscode/settings.json @@ -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" + } +}