Run all builds on Windows plus run skeptic test on Linux.
@@ -118,6 +118,66 @@ jobs:
displayName: 'Cargo check integration tests'
continueOnError: true
+- job: 'unit_and_integration_tests_windows'
+ displayName: 'Unit and integration tests on Windows'
+ pool:
+ vmImage: 'vs2017-win2016'
+
+ steps:
+ - script: |
+ curl -sSf -o rustup-init.exe https://win.rustup.rs
+ rustup-init.exe -y --default-toolchain stable
+ set PATH=%PATH%;%USERPROFILE%\.cargo\bin
+ echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
+ displayName: 'Install Rust'
+ - script: make unit_test
+ displayName: 'Run unit tests'
+ - script: make rustls_unit_test
+ displayName: 'Run unit tests with rustls'
+ - script: make check_integration_test
+ displayName: 'Cargo check integration tests'
+
+- job: 'unit_and_integration_tests_windows_beta'
+ displayName: 'Unit and integration tests on Windows (beta channel)'
+ pool:
+ vmImage: 'vs2017-win2016'
+
+ steps:
+ - script: |
+ curl -sSf -o rustup-init.exe https://win.rustup.rs
+ rustup-init.exe -y --default-toolchain beta
+ set PATH=%PATH%;%USERPROFILE%\.cargo\bin
+ echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
+ displayName: 'Install Rust'
+ - script: RUST_VERSION=beta make unit_test
+ displayName: 'Run unit tests'
+ - script: RUST_VERSION=beta make rustls_unit_test
+ displayName: 'Run unit tests with rustls'
+ - script: RUST_VERSION=beta make check_integration_test
+ displayName: 'Cargo check integration tests'
+
+- job: 'unit_and_integration_tests_windows_nightly'
+ displayName: 'Unit and integration tests on Windows (nightly channel)'
+ pool:
+ vmImage: 'vs2017-win2016'
+
+ steps:
+ - script: |
+ curl -sSf -o rustup-init.exe https://win.rustup.rs
+ rustup-init.exe -y --default-toolchain nightly
+ set PATH=%PATH%;%USERPROFILE%\.cargo\bin
+ echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
+ displayName: 'Install Rust'
+ - script: RUST_VERSION=nightly make unit_test
+ displayName: 'Run unit tests'
+ continueOnError: true
+ - script: RUST_VERSION=nightly make rustls_unit_test
+ displayName: 'Run unit tests with rustls'
+ continueOnError: true
+ - script: RUST_VERSION=nightly make check_integration_test
+ displayName: 'Cargo check integration tests'
+ continueOnError: true
+
- job: 'crate_gen_linux'
displayName: 'Crate generation on Linux'
pool:
@@ -172,3 +232,17 @@ jobs:
displayName: 'Fetch botocore sources'
- script: make generate
displayName: 'Generate crates from botocore'
+
+- job: 'skeptic_linux'
+ displayName: 'Skeptic tests on Linux'
+ pool:
+ vmImage: 'Ubuntu-16.04'
+
+ steps:
+ - script: |
+ set -e
+ curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
+ echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
+ displayName: 'Install Rust'
+ - script: make skeptical
+ displayName: 'Run skeptic tests'
