Skip to content

Commit

Permalink
more prose
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
  • Loading branch information
obbardc committed Aug 9, 2023
1 parent f5107c5 commit c980ca7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build-images.yaml
Expand Up @@ -48,16 +48,15 @@ jobs:
# - https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/
#
# Use a self-hosted runner (with access to /dev/kvm) tagged with `kvm` if
# te branch is part of the go-debos organisation. Otherwise, run on a shared
# the branch is part of the go-debos organisation. Otherwise, run on a shared
# runner without any nested virtualisation.
runs-on: ${{ github.repository_owner == 'go-debos' && 'kvm' || 'ubuntu-latest' }}

# TODO: attempt to disable fakemachine on github actions instead of running under UML ?
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up qemu-user-static
- name: Set up qemu-user-static (required for --disable-fakemachine)
uses: docker/setup-qemu-action@v2

- name: Determine if machine has nested virtualisation
Expand All @@ -71,6 +70,9 @@ jobs:
- name: Create output directory
run: mkdir out

# If no kvm available, run without fakemachine (e.g. directly on the host)
# as running without nested virtualisation (e.g. uml/qemu backends) are
# far too slow.
- name: Build rpi64 image
run:
docker run
Expand Down

0 comments on commit c980ca7

Please sign in to comment.