Skip to content

Commit

Permalink
Configure CI (no. 16)
Browse files Browse the repository at this point in the history
  • Loading branch information
cafour committed Apr 12, 2021
1 parent 6109bd2 commit 3a5de11
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions .azure/pipelines/ci.yml
Expand Up @@ -7,6 +7,10 @@ pool:
variables:
DOTVVM_ROOT: $(Build.Repository.LocalPath)
BUILD_CONFIGURATION: Release
DISPLAY: :42
DOTNET_NOLOGO: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1

jobs:
- job: crossplatformBuild
Expand All @@ -32,6 +36,25 @@ jobs:
inputs:
command: test
projects: src/DotVVM.Framework.Tests.Common
arguments: --configuration $(BUILD_CONFIGURATION)
noBuild: true
arguments: --no-build --configuration $(BUILD_CONFIGURATION)
publishTestResults: true

- job: uiTestsCrossplatform
container: registry.gitlab.com/cafstep/dotvvm-test/dotvvm:latest
dependsOn: crossplatformBuild
steps:
- download: current
artifact: crossplatformBuild
- script: mv $(Pipeline.Workspace)/crossplatformBuild $(DOTVVM_ROOT)/artifacts
- script: Xvfb $DISPLAY -screen 0 800x600x16 &
- script: |
dotnet run --project $DOTVVM_ROOT/src/DotVVM.Samples.BasicSamples.AspNetCoreLatest \
--no-build \
--configuration Release \
--urls http://localhost:16018/ &
- task: DotNetCoreCLI@2
inputs:
command: test
projects: src/DotVVM.Samples.Tests
arguments: --no-build --configuration $(BUILD_CONFIGURATION)
publishTestResults: true

0 comments on commit 3a5de11

Please sign in to comment.