From ba9da05cef503a2ed9cb6a3a5303dd5e57d0c24d Mon Sep 17 00:00:00 2001 From: Florian Dehau Date: Tue, 16 Jul 2019 07:26:20 +0200 Subject: [PATCH] Update azure pipelines config --- azure-pipelines.yml | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2b86ac4..4ee7870 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,5 +1,37 @@ stages: - - template: azure/stages.yml@templates + - stage: lint + jobs: + - template: azure/style.yml@templates + - stage: build + displayName: Build and Test + dependsOn: lint + jobs: + - job: linux + displayName: Linux + pool: + vmImage: ubuntu-16.04 + steps: + - template: azure/install-rust.yml@templates + - script: cargo check --examples + displayName: Build with termion + - script: cargo check --no-default-features --features=crossterm --example crossterm_demo + displayName: Build with crossterm + - script: cargo check --no-default-features --features=curses --example curses_demo + displayName: Build with curses + - script: cargo check --no-default-features --features=rustbox --example rustbox_demo + displayName: Build with rustbox + - script: cargo test + displayName: Test with termion + - job: windows + displayName: Windows + pool: + vmImage: windows-2019 + steps: + - template: azure/install-rust.yml@templates + - script: cargo check --no-default-features --features=crossterm --example crossterm_demo + displayName: Build with crossterm + - script: cargo test --no-default-features --features=crossterm --tests --examples + displayName: Test with crossterm resources: repositories: