view .builds/linux.yml @ 198:bc1ae1810855

dep/animia: switch from using classes to global functions the old idea was ok, but sort of hackish; this method doesn't use classes at all, and this way (especially important!) we can do wayland stuff AND x11 at the same time, which wasn't really possible without stupid workarounds in the other method
author Paper <mrpapersonic@gmail.com>
date Sun, 24 Dec 2023 02:59:42 -0500
parents 36feb332b7c7
children da91af31ae73
line wrap: on
line source

image: debian/bookworm
packages:
  - qtbase5-dev
  - qttools5-dev
  - cmake
  - clang
  - libcurl4-openssl-dev
  - wget
  - fuse
  - file
  - xorg-dev # shouldn't install Xorg!
  - pkg-config
sources:
  - https://hg.sr.ht/~mrpapersonic/minori
environment:
  BUILD_SUBMITTER: hg.sr.ht
tasks:
  - build: |
      cd minori
      mkdir build
      cd build
      cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
      make

      wget -O linuxdeploy "https://github.com/linuxdeploy/linuxdeploy/releases/download/1-alpha-20231026-1/linuxdeploy-x86_64.AppImage"
      chmod +x linuxdeploy
      ./linuxdeploy --appdir Minori --executable minori -l libanimia.so -l libanitomy.so -l libpugixml.so -d rc/Minori.desktop -i rc/Minori.png --output appimage
artifacts:
  - minori/build/Minori-x86_64.AppImage
triggers:
  - action: email
    condition: failure
    to: Paper <mrpapersonic@gmail.com>