crate-ci / azure-pipelines

Easy continuous integration for Rust projects with Azure Pipelines
MIT License
88 stars 24 forks source link

It is possible to use VS2017? #54

Closed Geobert closed 5 years ago

Geobert commented 5 years ago

I've seen that we use windows-2019 as vmImage. Is there a way to override this to use VS2017 (windows-2019 seems to use VS2019)?

jonhoo commented 5 years ago

Do you mean when using stages.yml? No, there isn't currently. Out of curiosity, why do you specifically need VS2017? Does your project work on macOS and Linux?

Geobert commented 5 years ago

I'm a cobalt.rs contributor and we have an issue atm with sass-rs not compiling on VS2019: https://github.com/compass-rs/sass-rs/issues/34

jonhoo commented 5 years ago

Interesting... I'm a little hesitant to add three new parameters to stages.yml, tests.yml, and test.yml to set the vmImage to use for linux, macos, and windows though. @epage what do you think?

epage commented 5 years ago

I'm mixed (I also am the maintainer of cobalt).

Cobalt's CI is a bit slow as-is so I'm thinking of experimenting with hand writing all the jobs to tune the CIs performance, only reusing the install step. This will let us bypass the problem.

Geobert commented 5 years ago

So there's no need to add these params for now (it was for cobalt)