GitHub Actions: Build Raspbian on Ubuntu 22.04

Raspbian builds were running on Ubuntu 20.04 but with qemu-user-static from Ubuntu 21.10 (impish) due to need for newer features. However, the impish package repos are no longer available as that version reached its EOL. ubuntu-latest still refers to 20.04 on GitHub Actions but 22.04 is already available when explicitly specified. This commit switches the build over to that version and removes the workaround.
This commit is contained in:
Julian Brost 2022-07-25 13:00:42 +02:00 committed by GitHub
parent 5e759c7a6d
commit c14ccc5b0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -18,7 +18,7 @@ jobs:
- buster
- bullseye
runs-on: ubuntu-latest
runs-on: ubuntu-22.04 # revert back to ubuntu-latest once that is 22.04 or later
steps:
- name: Cancel previous jobs for the same PR
@ -34,10 +34,6 @@ jobs:
- name: qemu-user-static
run: |
set -exo pipefail
. /etc/os-release
if [ "$VERSION_ID" = 20.04 ]; then
sudo perl -pi -e s/focal/impish/g /etc/apt/sources.list
fi
sudo apt-get update
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y qemu-user-static