Given a fairly heterogenous matrix that looks like this:
matrix:
include:
- os: linux
compiler: gcc
env: PLATFORM=android ARCH=arm64-v8a
- os: linux
compiler: gcc
env: PLATFORM=linux ARCH=aarch64
- os: osx
compiler: clang
env: PLATFORM=darwin ARCH=x86_64 TEST=unit
- os: osx
compiler: clang
env: PLATFORM=ios ARCH=arm64
This would result in four builds. I'd like to multiply it by two with an additional environment variable TYPE=Debug/Release. What's the best way to achieve this effect? Consider that I've only shown four configurations but the real number of configurations is 15. I'm hoping I won't have to duplicate everything twice.
I've tried the following but it merely adds two more builds, it doesn't combine with the matrix:
env:
matrix:
- TYPE=Debug
- TYE=Release
Same with this:
env:
- TYPE=Debug
- TYE=Release