mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
ci: move flatpak back to i686 for now
This commit is contained in:
1 parent
fab41b6fcb
commit
d37d9b7168
3 files changed
+8
-10
No files matched your search
@@ -162,7 +162,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: pd-x86_64-linux
|
||||
name: pd-i686-linux
|
||||
path: dist/linux/bin/
|
||||
|
||||
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
|
||||
|
||||
+4
-4
@@ -11,14 +11,14 @@ done
|
||||
# Default to pd as executable but switch to jpn/pal if the NTSC rom
|
||||
# is missing but JPN/PAL are present.
|
||||
# TODO: Other arch
|
||||
executable="pd.x86_64"
|
||||
executable="pd.i686"
|
||||
if [ -f ${XDG_DATA_HOME}/roms/pd.ntsc-final.z64 ] | \
|
||||
[ -f ${XDG_DATA_HOME}/roms/pd.ntsc-1.0.z64 ]; then
|
||||
executable="pd.x86_64"
|
||||
executable="pd.i686"
|
||||
elif [ -f ${XDG_DATA_HOME}/roms/pd.jpn-final.z64 ]; then
|
||||
executable="pd.jpn.x86_64"
|
||||
executable="pd.jpn.i686"
|
||||
elif [ -f ${XDG_DATA_HOME}/roms/pd.pal-final.z64 ]; then
|
||||
executable="pd.pal.x86_64"
|
||||
executable="pd.pal.i686"
|
||||
fi
|
||||
|
||||
# If first parameter passed to this script is one of the pd executables,
|
||||
|
||||
+3
-5
@@ -5,8 +5,6 @@ sdk: org.freedesktop.Sdk
|
||||
command: io.github.fgsfdsfgs.perfect_dark.sh
|
||||
|
||||
finish-args:
|
||||
# multiarch is required for 32bit binaries
|
||||
- --allow=multiarch
|
||||
# hardware 3D and controller access
|
||||
- --device=all
|
||||
# X11 + XShm access
|
||||
@@ -65,11 +63,11 @@ modules:
|
||||
buildsystem: simple
|
||||
sources:
|
||||
- type: file
|
||||
path: bin/pd
|
||||
path: bin/pd.i686
|
||||
- type: file
|
||||
path: bin/pd.jpn
|
||||
path: bin/pd.jpn.i686
|
||||
- type: file
|
||||
path: bin/pd.pal
|
||||
path: bin/pd.pal.i686
|
||||
- type: file
|
||||
path: io.github.fgsfdsfgs.perfect_dark.sh
|
||||
- type: file
|
||||
|
||||
Reference in new issue
Block a user