mirror of
https://github.com/simple64/simple64.git
synced 2026-09-11 14:52:44 +02:00
another snap attempt
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
@@ -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,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 && \
|
||||
|
||||
Reference in New Issue
Block a user