diff .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 diff
--- a/.builds/linux.yml	Wed Nov 08 21:40:02 2023 -0500
+++ b/.builds/linux.yml	Thu Nov 09 00:57:05 2023 -0500
@@ -14,9 +14,15 @@
       cd minori
       mkdir build
       cd build
-      cmake .. -G "Unix Makefiles"
+      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>
\ No newline at end of file
+    to: Paper <mrpapersonic@gmail.com>