mirror of https://github.com/PCSX2/pcsx2.git
Build: Remove plugin references
This commit is contained in:
parent
bac66e1e5e
commit
dcfe9f7aff
|
@ -47,19 +47,19 @@ jobs:
|
||||||
# Need to disable PCH until cmake 3.17
|
# Need to disable PCH until cmake 3.17
|
||||||
# (PCH conflicts with ccache, fixed by https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4400)
|
# (PCH conflicts with ccache, fixed by https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4400)
|
||||||
cmakeflags: -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON
|
cmakeflags: -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON
|
||||||
detail: nopch
|
detail: -nopch
|
||||||
experimental: false
|
experimental: false
|
||||||
- os: ubuntu-18.04
|
- os: ubuntu-18.04
|
||||||
platform: x86
|
platform: x86
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
cmakeflags: -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON
|
cmakeflags: -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON
|
||||||
detail: nopch
|
detail: -nopch
|
||||||
experimental: false
|
experimental: false
|
||||||
- os: ubuntu-18.04
|
- os: ubuntu-18.04
|
||||||
platform: x86
|
platform: x86
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
cmakeflags: -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON -DARCH_FLAG=-march=haswell
|
cmakeflags: -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON -DARCH_FLAG=-march=haswell
|
||||||
detail: avx2 nopch
|
detail: -avx2-nopch
|
||||||
experimental: false
|
experimental: false
|
||||||
|
|
||||||
name: "${{ matrix.platform }} | ${{ matrix.compiler }} ${{ matrix.detail }}"
|
name: "${{ matrix.platform }} | ${{ matrix.compiler }} ${{ matrix.detail }}"
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
export LD_LIBRARY_PATH="/tmp/PCSX2:$APPDIR/usr/lib:$LD_LIBRARY_PATH"
|
export LD_LIBRARY_PATH="$APPDIR/usr/lib:$LD_LIBRARY_PATH"
|
||||||
BINARY_NAME=$(basename "$ARGV0")
|
BINARY_NAME=$(basename "$ARGV0")
|
||||||
if [[ ! -e "$PWD/$BINARY_NAME.config" ]]; then
|
if [[ ! -e "$PWD/$BINARY_NAME.config" ]]; then
|
||||||
mkdir "$PWD/$BINARY_NAME.config"
|
mkdir "$PWD/$BINARY_NAME.config"
|
||||||
fi
|
fi
|
||||||
export XDG_CONFIG_HOME="$PWD/$BINARY_NAME.config"
|
export XDG_CONFIG_HOME="$PWD/$BINARY_NAME.config"
|
||||||
|
|
||||||
ln -sf $APPDIR/usr/bin/plugins /tmp/PCSX2
|
ln -sf $APPDIR/usr/bin/app /tmp/PCSX2
|
||||||
mkdir -p $HOME/.local/share/icons/hicolor/scalable/apps && cp $APPDIR/PCSX2.png $HOME/.local/share/icons/hicolor/scalable/apps
|
mkdir -p $HOME/.local/share/icons/hicolor/scalable/apps && cp $APPDIR/PCSX2.png $HOME/.local/share/icons/hicolor/scalable/apps
|
||||||
|
|
||||||
$APPDIR/AppRun-patched
|
$APPDIR/AppRun-patched
|
||||||
|
|
|
@ -39,20 +39,18 @@ chmod a+x ./squashfs-root/AppRun
|
||||||
chmod a+x ./squashfs-root/runtime
|
chmod a+x ./squashfs-root/runtime
|
||||||
chmod a+x ./squashfs-root/AppRun-patched
|
chmod a+x ./squashfs-root/AppRun-patched
|
||||||
echo "$name" > "$GITHUB_WORKSPACE"/squashfs-root/version.txt
|
echo "$name" > "$GITHUB_WORKSPACE"/squashfs-root/version.txt
|
||||||
mkdir -p "$GITHUB_WORKSPACE"/squashfs-root/usr/bin/{plugins,vm}
|
mkdir -p "$GITHUB_WORKSPACE"/squashfs-root/usr/bin/app
|
||||||
cp -r "$GITHUB_WORKSPACE"/bin/Langs "$GITHUB_WORKSPACE"/squashfs-root/usr/bin/
|
cp -r "$GITHUB_WORKSPACE"/bin/Langs "$GITHUB_WORKSPACE"/squashfs-root/usr/bin/
|
||||||
cp "$GITHUB_WORKSPACE"/bin/docs/{Configuration_Guide.pdf,PCSX2_FAQ.pdf} "$GITHUB_WORKSPACE"/squashfs-root/usr/bin/plugins
|
cp "$GITHUB_WORKSPACE"/bin/docs/{Configuration_Guide.pdf,PCSX2_FAQ.pdf} "$GITHUB_WORKSPACE"/squashfs-root/usr/bin/app
|
||||||
cp "$GITHUB_WORKSPACE"/bin/cheats_ws.zip "$GITHUB_WORKSPACE"/squashfs-root/usr/bin/plugins
|
cp "$GITHUB_WORKSPACE"/bin/cheats_ws.zip "$GITHUB_WORKSPACE"/squashfs-root/usr/bin/app
|
||||||
if [[ -e "$BUILDPATH/plugins" ]]; then
|
|
||||||
find "$BUILDPATH/plugins" -iname '*.so' -exec cp {} "$GITHUB_WORKSPACE"/squashfs-root/usr/bin/plugins \;
|
cp ./bin/GameIndex.yaml "$GITHUB_WORKSPACE"/squashfs-root/usr/bin/app/GameIndex.yaml
|
||||||
fi
|
|
||||||
cp ./bin/GameIndex.yaml "$GITHUB_WORKSPACE"/squashfs-root/usr/bin/plugins/GameIndex.yaml
|
|
||||||
export UPD_INFO="gh-releases-zsync|PCSX2|pcsx2|latest|$name.AppImage.zsync"
|
export UPD_INFO="gh-releases-zsync|PCSX2|pcsx2|latest|$name.AppImage.zsync"
|
||||||
export OUTPUT="$name.AppImage"
|
export OUTPUT="$name.AppImage"
|
||||||
/tmp/squashfs-root/AppRun --appdir="$GITHUB_WORKSPACE"/squashfs-root/ -d "$GITHUB_WORKSPACE"/squashfs-root/PCSX2.desktop -i "$GITHUB_WORKSPACE"/squashfs-root/PCSX2.png --output appimage
|
/tmp/squashfs-root/AppRun --appdir="$GITHUB_WORKSPACE"/squashfs-root/ -d "$GITHUB_WORKSPACE"/squashfs-root/PCSX2.desktop -i "$GITHUB_WORKSPACE"/squashfs-root/PCSX2.png --output appimage
|
||||||
mkdir -p "$GITHUB_WORKSPACE"/artifacts/
|
mkdir -p "$GITHUB_WORKSPACE"/artifacts/
|
||||||
ls -al .
|
ls -al .
|
||||||
mv "$name.AppImage" "$GITHUB_WORKSPACE"/artifacts # && mv "$name.AppImage.zsync" $GITHUB_WORKSPACE/artifacts
|
mv "$name.AppImage" "$GITHUB_WORKSPACE"/artifacts # && mv "$name.AppImage.zsync" "$GITHUB_WORKSPACE"/artifacts
|
||||||
chmod -R 777 ./artifacts
|
chmod -R 777 ./artifacts
|
||||||
cd ./artifacts
|
cd ./artifacts
|
||||||
ls -al .
|
ls -al .
|
||||||
|
|
Loading…
Reference in New Issue