Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
vicamo committed Feb 3, 2025
1 parent 3b9c83d commit ff0eb00
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,9 @@ jobs:
"slink"
]'
disabled_arches='[
["any", "hurd-amd64", "unsupported"],
["any", "hurd-i386", "unsupported"],
["any", "ia64", "unsupported"],
["any", "kfreebsd-amd64", "unsupported"],
["any", "kfreebsd-i386", "unsupported"],
["any", "s390", "unsupported"],
["any", "x32", "unsupported"]
["any", ["hurd-amd64", "hurd-i386", "kfreebsd-amd64", "kfreebsd-i386"], "non-linux"],
["any", ["ia64", "x32"], "no-qemu"],
["any", ["s390"], "qemu-bug"]
]'
codenames="$({ echo "${DEBIAN_JSON}"; echo "${UBUNTU_JSON}"; } |
jq -s 'map(.[])' |
Expand All @@ -103,7 +99,7 @@ jobs:
map(select(. as $arch |
'"${disabled_arches}"' |
map(select((.[0] == $s.codename or .[0] == "any")
and (.[1] == $arch or .[1] == "any"))) |
and (.[1] | map(select(. == $arch or . == "any")) | length > 0))) |
length == 0)) |
map({
"arch":.,
Expand Down Expand Up @@ -146,9 +142,9 @@ jobs:
map(select(. as $arch |
'"${disabled_arches}"' |
map(select((.[0] == $s.codename or .[0] == "any")
and (.[1] == $arch or .[1] == "any")
and (.[1] | map(select( . == $arch or . == "any")) | length > 0)
and (.[2] == "unavailable"))) |
length != 0)) |
length > 0)) |
map(. as $arch |
'"${platforms}"' |
map(select(.[0] == $arch))[0][1])
Expand Down

0 comments on commit ff0eb00

Please sign in to comment.