Matrix of 32 and 64 bit targets in the same artifact
My AppVeyor.ymI supports a matrix build of 32 and 64 bit targets.
I would like to have both targets available in last build's artifact. To achieve this, I've set the target artifact to be my build folder which is also cached.
The idea is to cache the folder between builds so the second build will be added to the build folder which will then be archived as the artifact of the second build and contain both the first and second build output.
However, my artifacts are not combined on the second Matrix build, instead each build's artifact (the build folder) only contains the content for that build - i.e. 32bit and 64bit target package respectively.
Is what I'm trying to do possible on AppVeyor ?
Many thanks!
Comments are currently closed for this discussion. You can start a new one.
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

1 Posted by Ilya Finkelshte... on 03 Oct, 2017 09:09 PM
Right now it is separate cache for each build job. Please watch this GitHub issue to see what it become more flexible.
I believe that now you can try do download build artifact from job 1 suing script called from job 2. Here is a script example. Sure this assumes that you have single concurrent job and Job 2 is always after Job 1.
You can do even more elaborate hack by creating separate project which does not do actual build, but only download both artifacts and package them as one. This project can be started with API as final step of main build -- Sample. But probably this is overkill :)
2 Posted by trevor.sandy on 04 Oct, 2017 07:22 PM
Excellent. This is good information. Many thanks.
3 Posted by trevor.sandy on 05 Oct, 2017 03:57 PM
Here my cleaned script block for reference to anyone interested in this use case.
The base script was taken from Downloading AppVeyor build artifacts.
4 Posted by Ilya Finkelshte... on 05 Oct, 2017 05:04 PM
Thank you for sharing!
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:20 AM.