view .builds/linux.yml @ 124:4c812fdf82a6

linux: add material for creating appimages, upload artifacts after CI build
author Paper <mrpapersonic@gmail.com>
date Thu, 09 Nov 2023 00:57:05 -0500
parents fcae8bece0ec
children 4067388485c1
line wrap: on
line source

image: alpine/edge
packages:
  - qt5-qtbase-dev
  - qt5-qttools-dev
  - cmake
  - gcc
  - curl-dev
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.1.13 -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>