another snap attempt

This commit is contained in:
Logan McNaughton
2022-02-06 06:59:53 -07:00
parent f059d856ae
commit 3f808951da
4 changed files with 7 additions and 4 deletions
+3 -1
View File
@@ -5,7 +5,7 @@ on:
branches:
- main
paths:
- 'snap/**'
- "snap/**"
workflow_dispatch:
env:
@@ -38,5 +38,7 @@ jobs:
run: |
pip install requests
export M64P_LINUX_URL=$(python3 ../scripts/get_linux_asset.py ${{ env.VERSION }})
sed -i 's/M64PVERSION/${{ env.VERSION }}/g' snap/snapcraft.yaml
sed -i 's/M64PURL/$M64P_LINUX_URL/g' snap/snapcraft.yaml
snapcraft --enable-experimental-extensions
snapcraft upload --release=stable *.snap
+1
View File
@@ -37,6 +37,7 @@ jobs:
run: |
pip install requests
export M64P_LINUX_URL=$(python3 ../scripts/get_linux_asset.py ${{ env.VERSION }})
sed -i 's/M64PURL/$M64P_LINUX_URL/g' Containerfile
podman build . --tag quay.io/loganmc10/m64p:latest --tag quay.io/loganmc10/m64p:${{ env.VERSION }}
podman push quay.io/loganmc10/m64p:latest
podman push quay.io/loganmc10/m64p:${{ env.VERSION }}
+2 -2
View File
@@ -1,6 +1,6 @@
name: m64p
base: core20
version: $VERSION
version: M64PVERSION
compression: lzo
summary: An easy to use N64 emulator. Available for Windows and Linux
description: |
@@ -56,5 +56,5 @@ parts:
override-prime: |
snapcraftctl prime
cp -f $SNAPCRAFT_STAGE/usr/lib/p7zip/7za $SNAPCRAFT_STAGE/usr/bin/7za
source: $M64P_LINUX_URL
source: M64PURL
plugin: dump
+1 -1
View File
@@ -1,6 +1,6 @@
FROM registry.fedoraproject.org/fedora-toolbox:35
RUN wget -q ${M64P_LINUX_URL} -O /m64p.zip && unzip /m64p.zip && rm /m64p.zip && \
RUN wget -q M64PURL -O /m64p.zip && unzip /m64p.zip && rm /m64p.zip && \
ln -s /mupen64plus/mupen64plus-gui /usr/bin/start
RUN dnf -y update && dnf -y install qt5-qtbase-gui qt5-qtwebsockets SDL2_net minizip-compat hidapi libatomic pipewire-libs p7zip && dnf clean all -y
RUN ln -s /run/host/usr/share/vulkan/icd.d/nvidia_icd.json /usr/share/vulkan/icd.d/nvidia_icd.json && \