Skip to content

feat: Carveout, localhost USB, SEP, MT, PCIe, Baseband, Disp PMU #48

feat: Carveout, localhost USB, SEP, MT, PCIe, Baseband, Disp PMU

feat: Carveout, localhost USB, SEP, MT, PCIe, Baseband, Disp PMU #48

Workflow file for this run

name: build
on:
push:
branches:
- master
pull_request:
jobs:
build_aarch64_softmmu_linux:
runs-on: ubuntu-latest
steps:
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential libtool meson ninja-build pkg-config libcapstone-dev device-tree-compiler libglib2.0-dev gnutls-bin libjpeg-turbo8-dev libpng-dev libslirp-dev libssh-dev libusb-1.0-0-dev liblzo2-dev libncurses5-dev libpixman-1-dev libsnappy-dev vde2 zstd libgnutls28-dev nettle-bin libnettle8t64 nettle-dev libgmp10 libgmp3-dev lzfse liblzfse-dev
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build qemu
run: |
mkdir build
cd build
../configure --target-list=aarch64-softmmu,x86_64-softmmu --enable-capstone --enable-slirp --enable-lzfse --enable-nettle --enable-gnutls --disable-werror
make -j$(nproc)
- name: Install qemu
run: |
cd build
make DESTDIR=$GITHUB_WORKSPACE/bin/ install
- name: Publish binaries
uses: actions/upload-artifact@v4
with:
name: aarch64_softmmu_linux
path: ${{ github.workspace }}/bin/
build_aarch64_softmmu_macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install build dependencies
run: |
brew install libtool meson ninja pkgconf capstone dtc glib gnutls jpeg-turbo libpng libslirp libssh libusb lzo ncurses nettle pixman snappy vde zstd lzfse nettle
- name: Build qemu
run: |
mkdir build
cd build
CFLAGS="$CFLAGS -I/opt/homebrew/include" C_INCLUDE_PATH="$C_INCLUDE_PATH:/opt/homebrew/include" LIBRARY_PATH="$LIBRARY_PATH:/opt/homebrew/lib" LIBTOOL="glibtool" ../configure --target-list=aarch64-softmmu,x86_64-softmmu --disable-bsd-user --disable-guest-agent --enable-lzfse --enable-slirp --enable-capstone --enable-curses --enable-libssh --enable-virtfs --enable-zstd --extra-cflags=-DNCURSES_WIDECHAR=1 --disable-sdl --disable-gtk --enable-cocoa --enable-lzfse --enable-nettle --enable-gnutls --disable-werror
make -j$(sysctl -n hw.logicalcpu)
- name: Install qemu
run: |
cd build
make DESTDIR=$GITHUB_WORKSPACE/bin/ install
- name: Publish binaries
uses: actions/upload-artifact@v4
with:
name: aarch64_softmmu_macos
path: ${{ github.workspace }}/bin/