Skip to content

Commit e66e7b3

Browse files
committed
Test on arm64v8 instead of i386 (which isn't supported in Ubuntu 20.04+)
1 parent b596ec7 commit e66e7b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
git clone --depth 1 https://github.com/docker-library/bashbrew.git -b master ~/bashbrew
2626
strategy="$(~/bashbrew/scripts/github-actions/generate.sh)"
2727
strategy="$(~/bashbrew/scripts/github-actions/munge-i386.sh -c <<<"$strategy")"
28+
strategy="$(sed -e 's/i386/arm64v8/g' <<<"$strategy")" # Ubuntu no longer supports i386, so we have to get a little more clever
29+
strategy="$(jq -c '.matrix.include[].runs |= if .pull | test("arm64") then .prepare += "\nsudo apt-get update && sudo apt-get install -y qemu-user-static" else . end' <<<"$strategy")"
2830
jq . <<<"$strategy" # sanity check / debugging aid
2931
echo "::set-output name=strategy::$strategy"
3032

0 commit comments

Comments
 (0)