mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-26 07:18:47 -04:00
3366c22e99
* CI attempt * syntax * fix cmake for linux * fix include directories and merge main * fix PDB fighting * fix gcc compiling * fix SSCACHE for windows * try and fix gcc * more CI presets * remove the android target for now * bump cmake minimum to fix debug information format * yet another attempt at fixing gcc * yet another attempt at fixing gcc * better CI matrixing * yet another attempt at fixing GCC * fix arm * fix CI * placeholder icons * compile dawn from source for windows arm64 * fix icons and linker warnings * fix cmake * fetch libjpegturbo --------- Co-authored-by: Luke Street <luke@street.dev>
19 lines
754 B
Bash
Executable File
19 lines
754 B
Bash
Executable File
#!/bin/bash -ex
|
|
shopt -s extglob
|
|
|
|
# Get linuxdeploy
|
|
cd "$RUNNER_WORKSPACE"
|
|
curl -fOL https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-$(uname -m).AppImage
|
|
chmod +x linuxdeploy-$(uname -m).AppImage
|
|
|
|
# Build AppImage
|
|
cd "$GITHUB_WORKSPACE"
|
|
mkdir -p build/appdir/usr/{bin,share/{applications,icons/hicolor}}
|
|
cp build/install/!(*.*) build/appdir/usr/bin
|
|
cp -r platforms/freedesktop/{16x16,32x32,48x48,64x64,128x128,256x256,512x512,1024x1024} build/appdir/usr/share/icons/hicolor
|
|
cp platforms/freedesktop/dusk.desktop build/appdir/usr/share/applications
|
|
|
|
cd build/install
|
|
VERSION="$DUSK_VERSION" NO_STRIP=1 "$RUNNER_WORKSPACE"/linuxdeploy-$(uname -m).AppImage \
|
|
--appdir "$GITHUB_WORKSPACE"/build/appdir --output appimage
|