Bruno BELANYI
900960d7d9
Some checks failed
ci/woodpecker/push/check Pipeline failed
Unfortunately, the indentation feature is still a work in progress, so we have some expected failures in our tests...
61 lines
862 B
Plaintext
61 lines
862 B
Plaintext
foo = select(variant("VARIANT"), {
|
|
"x86": "my_x86",
|
|
"x86_64": [
|
|
"x86",
|
|
"x64",
|
|
],
|
|
"arm": {
|
|
some: "aarch",
|
|
value: "aarch64",
|
|
},
|
|
default: 0,
|
|
})
|
|
|
|
foo = select(
|
|
variant("VARIANT"),
|
|
{
|
|
"x86": "my_x86",
|
|
"x86_64": [
|
|
"x86",
|
|
"x64",
|
|
],
|
|
"arm": {
|
|
some: "aarch",
|
|
value: "aarch64",
|
|
},
|
|
default: 0,
|
|
}
|
|
)
|
|
|
|
foo = select((
|
|
arch(),
|
|
os(),
|
|
), {
|
|
(default, default): [],
|
|
})
|
|
|
|
foo = select(
|
|
(arch(), os()),
|
|
{
|
|
(default, default): [],
|
|
}
|
|
)
|
|
|
|
// We're really getting into more and more unlikely choices here...
|
|
foo = select(
|
|
(
|
|
arch(),
|
|
os(),
|
|
),
|
|
{
|
|
(default, default): [],
|
|
}
|
|
)
|
|
|
|
foo = select((arch(), os()), {
|
|
(
|
|
default,
|
|
default,
|
|
): [],
|
|
})
|