Run Parallel Builds on the Same OS Using Different Build Scripts
I am building a PowerShell module that supports both Windows PowerShell and PowerShell Core. On the Visual Studio 2015 and 2017 images, I'd like to run my build in Windows PowerShell (ps) and PowerShell Core (pwsh). I'm also running builds on Visual Studio 2019, Ubuntu, and mac OS. I can't figure out how to matrix this in such a way that I build on two instances of VS 2015 and VS 2017, a single instance on the others, and run different build scripts on the VS 2015/2017 instances. Is this possible?
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 27 Jan, 2021 01:30 AM
Do you have some appveyor.yml already?
Feodor Fitsner closed this discussion on 29 Mar, 2021 09:03 PM.
splatteredbits re-opened this discussion on 24 Nov, 2021 08:00 PM
2 Posted by splatteredbits on 24 Nov, 2021 08:00 PM
Sorry for taking so long to get back to you. I must have missed that someone responded.
Here's my appveyor.yml [1].
What I want is at total of 7 jobs:
ps
).pwsh
).Currently, with this YAML, I get six jobs and macOS, Ubuntu, Visual Studio 2015, and Visual Studio 2022 propertly run PowerShell (i.e.
pwsh
), Visual Studio 2013 properly runs Windows PowerShell (i.e.ps
), but I get only one Visual Studio 2019 job and it runs Windows PowerShell (i.e.ps
). I expect there to be a second Visual Studio 2019 job that runs on PowerShell (i.e.pwsh
).[1]