Skip to content

Commit

Permalink
github: Pin QEMU to 9.0.2 on Ubuntu 20.04
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Sep 6, 2024
1 parent f88509d commit 753b5c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:

env:
OS_ARCH: ${{ matrix.arch }}
OS_NAME: ${{ matrix.os }}
HOME: "/root/"
PKG_CONFIG_PATH: "/opt/incus/lib/pkgconfig/"
CGO_LDFLAGS: "-L/opt/incus/lib/"
Expand Down Expand Up @@ -200,6 +201,9 @@ jobs:
- name: Get the code
run: |
# Ubuntu 20.04 is no longer supported by recent QEMU.
[ "${OS_NAME}" = "ubuntu-20.04" ] && QEMU_TAG="9.0.2"
git clone https://github.com/axboe/liburing /build/liburing --depth 1 -b "${LIBURING_TAG}"
git clone https://github.com/cowsql/raft /build/raft --depth 1 -b "${RAFT_TAG}"
git clone https://github.com/cowsql/cowsql /build/cowsql --depth 1 -b "${COWSQL_TAG}"
Expand Down Expand Up @@ -561,7 +565,6 @@ jobs:
run: |
cd /build/qemu
sed -i "s/^unset target_list$/target_list=\"$(uname -m)-softmmu\"/" configure
sed -i "s/^glib_req_ver = '>=2.66.0'/glib_req_ver = '>=2.64.0'/" meson.build
./configure \
--prefix=/opt/incus \
--libexecdir=bin \
Expand Down

0 comments on commit 753b5c6

Please sign in to comment.