diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index 5b25dcc..a136e64 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -40,6 +40,37 @@ runs: echo "gcloud is installed" fi shell: bash + - name: "Install QEMU" + run: | + set -x + if [[ "${{ inputs.platform }}" == "arm64" ]]; then + echo "Installing QEMU" + # qemu-user-static fails with segfaults building bullseye + # We will revisit this when 20.10 is allowed as build slave on GitHub Actions + # https://bugs.launchpad.net/qemu/+bug/1749393 + # https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1928075 + if [[ "${{ inputs.dist }}" == "bullseye" ]]; then + sudo tee /etc/apt/preferences.d/qemu <