Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (33 sloc) 1.99 KB
language: cpp
compiler: gcc
sudo: require
dist: trusty
install:
- sudo apt-get -y install libsdl1.2-dev
script:
- git clone git://git.qemu-project.org/qemu.git
- cd qemu/
- mkdir build
- cd build/
- ../configure --prefix=/usr --target-list=x86_64-softmmu --disable-gtk --disable-gnutls --disable-rdma --disable-vte --disable-libssh2 --disable-smartcard --enable-system --disable-user --disable-curses --disable-vnc --enable-sdl --disable-gcrypt --disable-rdma --disable-tpm --target-list=ppc-softmmu
- ## TODO: Disbale iscsi, nfs, fdt
- make -j$(nproc)
- make DESTDIR=appdir -j$(nproc) install ; find appdir/
- cp ppc-softmmu/qemu-system-ppc ./appdir/usr/bin/ ; strip ./appdir/usr/bin/qemu-system-ppc # FIXME: Why do I need to do this?
- mkdir -p ./appdir/usr/share/applications/ ; cp ../../qemu-ppc.desktop ./appdir/usr/share/applications/
- mkdir -p appdir/usr/share/icons/hicolor/scalable/apps/ ; cp appdir/usr/share/qemu/qemu_logo_no_text.svg appdir/usr/share/icons/hicolor/scalable/apps/
- wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
- chmod a+x linuxdeployqt-continuous-x86_64.AppImage
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
- export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file
- ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -bundle-non-qt-libs
- ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage
after_success:
- find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
- # curl --upload-file QEMU*.AppImage https://transfer.sh/APPNAME-git.$(git rev-parse --short HEAD)-x86_64.AppImage
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh QEMU*.AppImage*
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)/