name: probe runner # Run this once by hand to find out what the runners can actually do before # blaming the build for failing. It changes nothing. on: workflow_dispatch: jobs: probe: runs-on: metal steps: - name: Identity and privileges run: | echo "runner name : ${RUNNER_NAME:-?}" echo "arch : $(uname -m)" echo "kernel : $(uname -r)" echo "os : $(. /etc/os-release && echo "$PRETTY_NAME")" echo "user : $(id -un) uid=$(id -u)" echo -n "passwordless sudo : " sudo -n true 2>/dev/null && echo yes || echo no - name: Container tooling run: | echo -n "podman : "; podman --version 2>/dev/null || echo MISSING echo -n "rootless: "; podman info --format '{{.Host.Security.Rootless}}' 2>/dev/null || echo '?' echo "storage : $(podman info --format '{{.Store.GraphRoot}}' 2>/dev/null || echo '?')" - name: Emulation run: | if [ -e /proc/sys/fs/binfmt_misc/qemu-aarch64 ]; then cat /proc/sys/fs/binfmt_misc/qemu-aarch64 else echo "no aarch64 binfmt handler registered" fi - name: Can we actually run an aarch64 container? continue-on-error: true run: | podman run --rm --arch arm64 registry.fedoraproject.org/fedora:44 \ bash -c 'echo "inside: $(uname -m)"; rpm --eval %{_arch}' - name: Disk space run: | df -h / /var /tmp . 2>/dev/null | sort -u