diff --git a/.github/workflows/arch.yml b/.github/workflows/arch.yml index 16fb057..22f0b41 100644 --- a/.github/workflows/arch.yml +++ b/.github/workflows/arch.yml @@ -1,4 +1,4 @@ -name: Arch +name: QEMU on: [push] @@ -28,4 +28,26 @@ jobs: # Not required, but speeds up builds githubToken: ${{ github.token }} + # Install some dependencies in the container. This speeds up builds if + # you are also using githubToken. Any dependencies installed here will + # be part of the container image that gets cached, so subsequent + # builds don't have to re-install them. The image layer is cached + # publicly in your project's package repository, so it is vital that + # no secrets are present in the container state or logs. + install: | + case "${{ matrix.distro }}" in + ubuntu*|jessie|stretch|buster|bullseye) + apt-get update -q -y + apt-get install -q -y git curl + ;; + fedora*) + dnf -y update + dnf -y install git curl + ;; + alpine*) + apk update + apk add curl + ;; + esac + run: ./install.sh