From 79d8fb8ae229f9abd4387c5992afd390021c3f69 Mon Sep 17 00:00:00 2001 From: Mike Nolan Date: Tue, 9 Jan 2024 23:07:57 -0600 Subject: [PATCH] Update Timelapse --- .gitlab-ci.yml | 13 +++++++++++++ build.sh | 14 ++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 .gitlab-ci.yml create mode 100644 build.sh diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..cb05d3d --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,13 @@ +stages: + - build + +build: + image: mcr.microsoft.com/dotnet/sdk:6.0 + stage: build + only: + - master + artifacts: + paths: + - publish + script: + bash build.sh \ No newline at end of file diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..b5407b0 --- /dev/null +++ b/build.sh @@ -0,0 +1,14 @@ +mkdir Temp +mkdir publish +cd Temp +wget -O tib https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage +chmod 755 tib +apt update +apt install -y binutils coreutils desktop-file-utils fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-setuptools squashfs-tools strace util-linux zsync +./tib --appimage-extract +ln -s appimagetool squashfs-root/AppRun +export PATh=$PATH:$PWD +cd ../Timelapse.Linux +make +mv *.tar.gz ../publish/ +mv *.AppImage ../publish/