Try a build on Windows.
@@ -153,3 +153,22 @@ jobs:
displayName: 'Fetch botocore sources'
- script: make generate
displayName: 'Generate crates from botocore'
+
+- job: 'crate_gen_windows'
+ displayName: 'Crate generation 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: rustup component add --toolchain stable rustfmt
+ displayName: 'Install rustfmt'
+ - script: git submodule update --init --recursive
+ displayName: 'Fetch botocore sources'
+ - script: make generate
+ displayName: 'Generate crates from botocore'
\ No newline at end of file
