Per platform & per config environment variables

milostosic77's Avatar

milostosic77

06 Apr, 2023 10:34 AM

I have a project that I'm trying to build for 3 platforms and 3 configurations per platform (debug, release, retail).
Here's the script at the moment: https://github.com/milostosic/rapp/blob/master/.appveyor.yml

Problem 1: On linux, I'm trying to define matrix only for Debug config, but it's applied to all while I was expecting release and retail to fail.

Problem 2: (or rather, can someone tell me how to do this?) I'd like to define a variable that I can use within the AppVeyor script which would allow me to control my build process. Variable corresponds to (internal) config name and I need to change it per config. For debug/release/retail configs the value of the variable should be debug64/release64/retail64 - how to achieve this?

Problem 3: when execution reaches OSX, linux command is executed (from this line: https://github.com/milostosic/rapp/blob/deef35db99237e9afbbc77ea164da303e985be5f/.appveyor.yml#L61)

Any help appreciated!

Edit: nevermind, I was hoping there is a way to create matrix 'programatically' by combining variables set differently. Seems like manual path is way simpler and a way to go

  1. milostosic77 closed this discussion on 06 Apr, 2023 11:41 AM.

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