Skip to content

Build pve-qemu

Build pve-qemu #18

Workflow file for this run

on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container: ubuntu:23.10
steps:
- name: Install Tools
run: |
apt-get update
apt-get install -y wget
echo "deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription" | tee -a /etc/apt/sources.list
wget -O /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg "https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg"
apt-get update
apt-get install -y libzstd1 libproxmox-backup-qemu0-dev
apt-get install -y git make libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev ninja-build \
build-essential libaio-dev libbluetooth-dev libcapstone-dev libbrlapi-dev libbz2-dev \
libcap-ng-dev libcurl4-gnutls-dev libgtk-3-dev libibverbs-dev libjpeg8-dev libncurses5-dev \
libnuma-dev librbd-dev librdmacm-dev libsasl2-dev libsdl2-dev libseccomp-dev libsnappy-dev \
libssh-dev libvde-dev libvdeplug-dev libvte-2.91-dev libxen-dev liblzo2-dev valgrind xfslibs-dev \
libnfs-dev libiscsi-dev equivs devscripts
- name: Checkout Qemu
run: |
git clone git://git.proxmox.com/git/pve-qemu.git
- name: Build Qemu
if: false
run: |
pwd
ls -al
# Switch to the QEMU root directory.
cd qemu
# Prepare a native debug build.
mkdir -p bin/debug/native
cd bin/debug/native
# Configure QEMU and start the build.
../../../configure --enable-debug
make
# Return to the QEMU root directory.
cd ../../..
- name: Build pve-qemu
run: |
cd pve-qemu
mk-build-deps --install
make clean distclean
make
ls -l