Skip to content

Commit

Permalink
Configure CI (no. 24)
Browse files Browse the repository at this point in the history
  • Loading branch information
cafour committed Apr 13, 2021
1 parent 1c32962 commit a01ccac
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .azure/pipelines/ci.yml
Expand Up @@ -5,7 +5,7 @@ pool:
vmImage: ubuntu-latest

variables:
DOTVVM_ROOT: $(Build.Repository.LocalPath)
DOTVVM_ROOT: $(Pipeline.Workspace)
BUILD_CONFIGURATION: Release
DISPLAY: :42
DOTNET_NOLOGO: 1
Expand All @@ -28,7 +28,7 @@ jobs:
- task: Cache@2
inputs:
key: '"nuget" | "$(Agent.OS)" | **/packages.lock.json'
path: $(DOTVVM_ROOT)/.npm
path: $(DOTVVM_ROOT)/.nuget
restoreKeys: '"nuget" | "$(Agent.OS)"'
- task: DotNetCoreCLI@2
inputs:
Expand All @@ -53,7 +53,7 @@ jobs:
- task: Cache@2
inputs:
key: '"nuget" | "$(Agent.OS)" | **/packages.lock.json'
path: $(DOTVVM_ROOT)/.npm
path: $(DOTVVM_ROOT)/.nuget
restoreKeys: '"nuget" | "$(Agent.OS)"'
- task: DotNetCoreCLI@2
inputs:
Expand All @@ -78,12 +78,13 @@ jobs:
- task: Cache@2
inputs:
key: '"nuget" | "$(Agent.OS)" | **/packages.lock.json'
path: $(DOTVVM_ROOT)/.npm
path: $(DOTVVM_ROOT)/.nuget
- task: DotNetCoreCLI@2
inputs:
command: restore
projects: src/@(DotVVM.Samples.BasicSamples.AspNetCoreLatest|DotVVM.Samples.Tests)
packagesDirectory: $(DOTVVM_ROOT)/.nuget
- script: echo $DOTVVM_ROOT
- task: DotNetCoreCLI@2
inputs:
command: run
Expand Down

0 comments on commit a01ccac

Please sign in to comment.