Skip to content

Commit

Permalink
Adjusting Linux builds
Browse files Browse the repository at this point in the history
  • Loading branch information
vitor251093 committed Jun 24, 2024
1 parent e1a5d39 commit 136422b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 7 deletions.
25 changes: 18 additions & 7 deletions .github/workflows/build-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,20 @@ jobs:
run: |
cmake --build build
DESTDIR=AppDir cmake --install build
mv AppDir/usr/bin/melonDS AppDir/usr/bin/khDaysMM
mv AppDir/usr/bin/melonDS AppDir/usr/bin/MelonMix
- name: Preparing artifacts (ubuntu-x86_64)
run: |
echo "#!/bin/bash\n./MelonMix roms/days.nds" > ./MelonMix_KHDays.sh
echo "#!/bin/bash\n./MelonMix roms/recoded.nds" > ./MelonMix_KHReCoded.sh
chmod +x ./MelonMix_KHDays.sh
chmod +x ./MelonMix_KHReCoded.sh
- uses: actions/upload-artifact@v4
with:
name: khDaysMM-ubuntu-x86_64
path: AppDir/usr/bin/khDaysMM
name: MelonMix-ubuntu-x86_64
path: |
AppDir/usr/bin/MelonMix
MelonMix_KHDays.sh
MelonMix_KHReCoded.sh
- name: Fetch AppImage tools
run: |
wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
Expand All @@ -43,11 +52,13 @@ jobs:
QMAKE: /usr/lib/qt6/bin/qmake
run: |
./linuxdeploy-x86_64.AppImage --appdir AppDir --plugin qt --output appimage
- name: Preparing artifacts (appimage-x86_64)
run: |
mv khDaysMM*.AppImage MelonMix.AppImage
echo "#!/bin/bash\n./MelonMix.AppImage roms/days.nds" > MelonMix_KHDays.sh
echo "#!/bin/bash\n./MelonMix.AppImage roms/recoded.nds" > MelonMix_KHReCoded.sh
chmod +x MelonMix_KHDays.sh
chmod +x MelonMix_KHReCoded.sh
echo "#!/bin/bash\n./MelonMix.AppImage roms/days.nds" > ./MelonMix_KHDays.sh
echo "#!/bin/bash\n./MelonMix.AppImage roms/recoded.nds" > ./MelonMix_KHReCoded.sh
chmod +x ./MelonMix_KHDays.sh
chmod +x ./MelonMix_KHReCoded.sh
- uses: actions/upload-artifact@v4
with:
name: MelonMix-appimage-x86_64
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ jobs:
working-directory: ${{runner.workspace}}/build
run: |
cmake --build .
- name: Preparing artifacts
working-directory: ${{runner.workspace}}/build
run: |
mv melonDS.exe MelonMix.exe
echo "MelonMix.exe roms/days.nds" > ./MelonMix_KHDays.bat
echo "MelonMix.exe roms/recoded.nds" > ./MelonMix_KHReCoded.bat
Expand Down

0 comments on commit 136422b

Please sign in to comment.