Skip to content

Commit

Permalink
Update aseprite_build_deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SnrsGu authored Dec 21, 2024
1 parent f514877 commit 83ab203
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/aseprite_build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ jobs:
strategy:
matrix:
# os: [windows-latest, ubuntu-latest, macOS-latest]
os: [windows-latest, ubuntu-latest]
os: [ubuntu-latest]
arch: [x64]
include:
- os: macOS-latest
arch: arm64
# include:
# - os: macOS-latest
# arch: arm64
fail-fast: false
steps:
- name: Checkout the repository
Expand All @@ -81,7 +81,7 @@ jobs:
uses: seanmiddleditch/gha-setup-ninja@v3
- name: (Ubuntu) Install dependencies
if: matrix.os == 'ubuntu-latest' && matrix.arch == 'x64'
run: sudo apt-get install -y g++ clang libc++-dev libc++abi-dev cmake ninja-build libx11-dev libxcursor-dev libxi-dev libgl1-mesa-dev libfontconfig1-dev
run: sudo apt-get install -y g++ clang libc++-dev libc++abi-dev cmake ninja-build libx11-dev libxcursor-dev libxi-dev libgl1-mesa-dev libfontconfig1-dev fuse
- name: (macOS) Install dependencies
if: matrix.os == 'macOS-latest'
run: brew install ninja p7zip
Expand Down Expand Up @@ -214,6 +214,10 @@ jobs:
if: matrix.os == 'ubuntu-latest'
working-directory: aseprite/build/bin
run: |
curl -o appimagetool-x86_64.AppImage -L https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
chmod +x appimagetool-x86_64.AppImage
sudo mv appimagetool-x86_64.AppImage /usr/local/bin/appimagetool
mkdir -p Aseprite.AppDir/usr/bin
mkdir -p Aseprite.AppDir/usr/share/aseprite
mkdir -p Aseprite.AppDir/usr/share/icons
Expand All @@ -227,8 +231,7 @@ jobs:
cp $GITHUB_WORKSPACE/Ubuntu/aseprite.desktop Aseprite.AppDir
cp $GITHUB_WORKSPACE/Ubuntu/aseprite.png Aseprite.AppDir
appimagetool aseprite.AppDir
mv aseprite.AppImage Aseprite_${{ needs.check-version.outputs.latest_tag }}-x64.AppImage
appimagetool Aseprite.AppDir
- name: Clean up redundant files
if: matrix.os == 'macOS-latest' || matrix.os == 'ubuntu-latest'
Expand Down

0 comments on commit 83ab203

Please sign in to comment.