summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusalva Jesusalva <jesusalva@themanaworld.org>2022-07-03 20:19:58 +0000
committerJesusalva Jesusalva <jesusalva@themanaworld.org>2022-07-03 20:19:58 +0000
commit63ec5db474b7ff8175ced3f657b36935e15b72be (patch)
tree167ac27a5cce844aad2e7c58309825096bdaa59d
parentd04352bb626cbd897dcd18811d85bfa7e47ecfbe (diff)
downloadbuildbot-63ec5db474b7ff8175ced3f657b36935e15b72be.tar.gz
buildbot-63ec5db474b7ff8175ced3f657b36935e15b72be.tar.bz2
buildbot-63ec5db474b7ff8175ced3f657b36935e15b72be.tar.xz
buildbot-63ec5db474b7ff8175ced3f657b36935e15b72be.zip
Make a new build for whatever
-rw-r--r--.gitlab-ci.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2486715..703a123 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,6 +37,30 @@ stages:
paths:
- "freedroid/build_mingw32/build"
+# Experimental build on fedora
+# Doesn't work because SDL_image is not available
+# for mingw
+."win32":
+ image: fedora:34
+ stage: build
+ script:
+ - dnf install -y git autoconf automake mingw32-gcc python2 which pkgconfig
+ - dnf install -y mingw-w64-tools mingw32-SDL_image mingw32-win-iconv
+ - dnf install -y SDL_image-devel SDL_mixer-devel SDL_gfx-devel SDL_ttf-devel libjpeg-devel libpng-devel libvorbis-devel libGLU-devel lua-devel gettext gettext-devel SDL_image SDL_gfx
+ - dnf install -y mingw32* SDL* # Extreme remedy
+ - git --version
+ - git clone https://gitlab.com/freedroid/freedroid-src.git freedroid
+ - cd freedroid
+ - git checkout master
+ - git rev-parse HEAD
+ - ./autogen.sh
+ - mingw32-configure --without-x --disable-dependency-tracking
+ - make clean
+ - make all
+ artifacts:
+ paths:
+ - "freedroid/build_mingw32/build"
+
# Python2 is called "python" in 18.04
"appimage":
image: ubuntu:18.04
@@ -62,6 +86,7 @@ stages:
- echo "Manually deploying AppRun ─ Not waiting for symlink!"
- cp ./AppRun AppDir/AppRun
- cp ./freedroid/run/bin/freedroidRPG AppDir/freedroidrpg # May not work at all
+ - cp ./freedroid/run/bin/freedroidRPG ./freedroid/run/bin/freedroidrpg
- sed 's/Icon=freedroidrpg/Icon=freedroidRPG/g' freedroid/pkgs/freedesktop/freedroidrpg.desktop > tmp.desktop
- mv tmp.desktop freedroid/pkgs/freedesktop/freedroidrpg.desktop
- ./squashfs-root/AppRun --appdir AppDir -i freedroid/pkgs/freedesktop/icons/hicolor/scalable/apps/freedroidRPG.svg -d freedroid/pkgs/freedesktop/freedroidrpg.desktop -e freedroid/run/bin/freedroidRPG --output appimage