Skip to content

Commit

Permalink
Configure CI (no. 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
cafour committed Apr 12, 2021
1 parent b5ba5f6 commit bea1cf6
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .azure/pipelines/ci.yml
@@ -1,16 +1,25 @@
# ASP.NET Core
# Build and test ASP.NET Core projects targeting .NET Core.
# Add steps that run tests, create a NuGet package, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core

trigger:
- feature/azure-pipelines

pool:
vmImage: ubuntu-latest

variables:
buildConfiguration: 'Release'
- dotvvm.root: ${{ Pipeline.Workspace }}
- build.configuration: Release

container:
image: registry.gitlab.com/cafstep/dotvvm-test/dotvvm

jobs:
- job: build-crossplatform
steps:
- script: npm ci --cache $(dotvvm.root)/.npm --prefer-offline
workingDirectory: src/DotVVM.Framework
- script: npm run build
workingDirectory: src/DotVVM.Framework
- script: dotnet restore --packages $(dotvvm.root)/.nuget src/Crossplatform.sln
- script: dotnet build --no-restore --configuration $(build.configuration) src/Crossplatform.sln

steps:
- script: dotnet build --configuration $(buildConfiguration)
Expand Down

0 comments on commit bea1cf6

Please sign in to comment.