Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeyWie committed Jan 21, 2025
1 parent 53fcb9f commit 753a24d
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ jobs:
overwrite: true
build-snap:
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'snap' }}
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
needs: [ get-release ]
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -344,6 +344,31 @@ jobs:
flutter build linux --release -v
mkdir -p \$CRAFT_PART_INSTALL/bin/
cp -r build/linux/*/release/bundle/* \$CRAFT_PART_INSTALL/bin/
command-chain:
- bin/gpu-2404-wrapper
gpu-2404:
after: [redrose]
source: https://github.com/canonical/gpu-snap.git
plugin: dump
override-prime: |
craftctl default
${CRAFT_PART_SRC}/bin/gpu-2404-cleanup mesa-2404
prime:
- bin/gpu-2404-wrapper
plugs:
gpu-2404:
inteface: content
target: $SNAP/gpu-2404
default-provider: mesa-2404
layout:
/usr/share/libdrm:
bind: $SNAP/gpu-2404/libdrm
/usr/share/drirc.d:
symlink: $SNAP/gpu-2404/drirc.d
/usr/share/X11/XErrorDB:
symlink: $SNAP/gpu-2404/X11/XErrorDB
EOF
cp linux/assets/com.gopeed.Gopeed.desktop snap/gui/gopeed.desktop
Expand Down

0 comments on commit 753a24d

Please sign in to comment.