Skip to content

How to set buildmode only for architectures that support it? #5680

Closed Answered by caarlos0
alexbozhenko asked this question in Q&A
Discussion options

You must be logged in to vote

Hey!

I believe you'll have to create one build with the targets that support it, and another build with the targets that don't.

As long as you're not filtering anything by id later (i.e. setting ids: ), it should all work fine.

Note that you'll need to add an ID to both builds, e.g.:

builds:
- id: pie
  buildmode: pie
  targets: [ ... ]
- id: nopie
  targets: [ ... ]

Hope this helps!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by alexbozhenko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants