Skip to content

Commit

Permalink
AppImages for real this time with musl
Browse files Browse the repository at this point in the history
  • Loading branch information
NotNite committed Oct 5, 2024
1 parent 8f11830 commit 3bf8a26
Show file tree
Hide file tree
Showing 9 changed files with 124 additions and 224 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,26 @@ jobs:
with:
name: moonlight-installer-windows
path: target/release/moonlight-installer.exe

build-linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2

- name: Download appimcagetool
run: |
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-$(uname -m).AppImage -O ./appimagetool
chmod +x ./appimagetool
- name: Install musl-gcc
run: sudo apt-get install -y musl-tools

- name: Build
run: ./build-linux.sh

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: moonlight-installer-linux
path: ./target/appimage/moonlight-installer.AppImage
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
/target

# Linux packaging
/AppDir
/appimage-build
*.AppImage
/appimagetool
Loading

0 comments on commit 3bf8a26

Please sign in to comment.