view .builds/linux.yml @ 343:1faa72660932

*: transfer back to cmake from autotools autotools just made lots of things more complicated than they should have and many things broke (i.e. translations)
author Paper <paper@paper.us.eu.org>
date Thu, 20 Jun 2024 05:56:06 -0400
parents 3c755136f074
children 676b9967d8c6
line wrap: on
line source

image: debian/bookworm
packages:
  - qtbase5-dev
  - qttools5-dev
  - automake
  - autoconf
  - libtool
  - clang
  - libcurl4-openssl-dev
  - wget
  - fuse
  - file
  - xorg-dev # shouldn't install Xorg!
  - libwayland-dev
  - pkg-config
  - libglib2.0-dev
sources:
  - hg+https://hg.paper.us.eu.org/minori
tasks:
  - build: |
      # build
      cd minori
      mkdir build
      cd build
      cmake .. -G "Unix Makefiles"
      make

      # resources
      mkdir -p rc
      cp ../rc/sys/linux/Minori.desktop rc/Minori.desktop
      cp ../rc/sys/linux/Minori.svg rc/Minori.svg

      # use linuxdeploy to make an appimage
      wget -O linuxdeploy "https://github.com/linuxdeploy/linuxdeploy/releases/download/1-alpha-20231026-1/linuxdeploy-x86_64.AppImage"
      chmod +x linuxdeploy
      LD_LIBRARY_PATH=. ./linuxdeploy --appdir Minori --executable ./minori -d rc/Minori.desktop -i rc/Minori.svg --output appimage
artifacts:
  - minori/build/Minori-x86_64.AppImage
triggers:
  - action: email
    condition: failure
    to: Paper <paper@paper.us.eu.org>