mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-13 21:09:07 +08:00
run-on-arch-action is simply a wrapper around docker. There is no value in using it in libbpf, as it is not complicated to run non-native arch docker images directly on github-hosted runners. Docker relies on qemu-user-static installed on the system to emulate different architectures. Recently there were various reports about multi-arch docker builds failing with seemingly random issues, and it appears to boil down to qemu [1]. I stumbled on this problem while updating s390x runners [2] for BPF CI, and setting up more recent version of qemu helped. This change addresses recent build failures on s390x and ppc64le. [1] https://github.com/docker/setup-qemu-action/issues/188 [2] https://github.com/kernel-patches/runner/pull/69 [3] https://docs.docker.com/build/buildkit/#getting-started Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
15 lines
241 B
Bash
Executable File
15 lines
241 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
export TZ="America/Los_Angeles"
|
|
|
|
apt-get update -y
|
|
apt-get install -y tzdata build-essential sudo
|
|
source ${GITHUB_WORKSPACE}/ci_setup
|
|
|
|
$CI_ROOT/managers/ubuntu.sh
|
|
|
|
exit 0
|