Only main branch builds

Lovro's Avatar

Lovro

06 Aug, 2020 01:33 PM

Hello!
Please excuse me if this is a super newbie issue, but I am unable to get all branches to build, only the one marked as the main branch does.
I would like to use the artifact made by the main branch (called Future - I will have to rename it soonish) which is just a .dll file, copy it to the output of GUI branch and zip all that together.

Link to the project: https://ci.appveyor.com/project/Lovrom8/rscdlcenabler-2020edition

Currently I have this .yml configuration (it's not added to the repo itself, all is being done trough this site) :

version: 1.0.{build}

branches:

  except:

  - master

image: Visual Studio 2019

configuration: Release

build:

  parallel: true

  verbosity: quiet

artifacts:

- path: '**\*.zip'

  name: GUI_Release

- path: '**\D3DX9_42.dll'

  name: DLL

on_success:

- cmd: ''

on_finish:

- cmd: >-
    REM 7z a RSMods.zip %APPVEYOR_BUILD_FOLDER%\RSMods\bin\Release\*.* -r
    REM appveyor PushArtifact RSMods.zip

I commented out the zipping part, since I wasn't aware how to separate those events (or well, RSMods doesn't exist since it doesn't build)

Thank you!

  1. Support Staff 1 Posted by Feodor Fitsner on 07 Aug, 2020 05:50 PM

    Feodor Fitsner's Avatar

    Hi Lovro,

    Just remove branches.except section from your appveyor.yml to build all branches.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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