mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-10 12:12:25 +03:00
appimage #1
This commit is contained in:
parent
14a27cdb63
commit
8eabf2afc6
19
.github/workflows/main.yml
vendored
19
.github/workflows/main.yml
vendored
@ -132,13 +132,24 @@ jobs:
|
||||
run: |
|
||||
cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build build-cmake --config Release -j3
|
||||
(cd build-cmake && cpack -G External)
|
||||
|
||||
#(cd build-cmake && cpack -G External)
|
||||
- name: Package AppImage
|
||||
run: |
|
||||
mkdir AppDir/usr/bin/include
|
||||
cp build-cmake/Starship AppDir/usr/bin/
|
||||
cp build-cmake/torch/src/torch-build/torch AppDir/usr/bin/
|
||||
cp {Starship.desktop,logo.png} AppDir
|
||||
cp -r {assets,config.yml} AppDir/usr/bin/
|
||||
cp -r include/{bgm.h,sf64object.h,sf64level.h,sf64mesg.h,sf64audio_external.h,sf64event.h,sf64player.h} AppDir/usr/bin/include/
|
||||
chmod +x AppDir/usr/bin/{Starship,Starship.sh,torch}
|
||||
curl -sSfLO "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage"
|
||||
chmod a+x linuxdeploy-x86_64.AppImage
|
||||
./linuxdeploy-x86_64.AppImage --appdir=AppDir -d AppDir/Starship.desktop -i AppDir/logo.png --output appimage
|
||||
mv README.md readme.txt
|
||||
mv build-cmake/*.appimage starship.appimage
|
||||
mv *.appimage starship.appimage
|
||||
- name: Upload build
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Starship-linux
|
||||
path: |
|
||||
starship.appimage
|
||||
starship.appimage
|
||||
|
Loading…
Reference in New Issue
Block a user