mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-25 07:46:01 +00:00
shadPS4: tolerate guard holes in FEX mapping checks; cache CI builds
Need for Speed Hot Pursuit Remastered stopped when a game thread's
destructors ran: the FEX engine's pre-flight check read /proc/self/maps
and required every page of the thread's writable range to be host-
writable, but the game keeps a PROT_NONE guard hole inside it
("host_permissions=---p", "pthread thread dtors failed at stage 1: 13").
Skip such holes; read-only or W+X pages still fail the check.
The build now compiles through ccache and keeps apt's downloads, both in
the workspace and carried between runs with actions/cache, so a rebuild
with the same pin recompiles only what a patch touched.
This commit is contained in:
1 parent
d0c6998b00
commit
fcbbe87dde
3 files changed
+46
-1
No files matched your search
@@ -25,6 +25,20 @@ jobs:
|
||||
timeout-minutes: 150
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
# Compiler and package caches carried between runs; a run with the same pin and patches
|
||||
# recompiles only what changed.
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: .ccache
|
||||
key: shadps4-ccache-${{ hashFiles('tools/shadps4/source.env') }}-${{ github.run_id }}
|
||||
restore-keys: |
|
||||
shadps4-ccache-${{ hashFiles('tools/shadps4/source.env') }}-
|
||||
shadps4-ccache-
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: .apt-cache
|
||||
key: shadps4-apt-${{ hashFiles('tools/shadps4/build-in-debian.sh') }}
|
||||
restore-keys: shadps4-apt-
|
||||
- name: Build in Debian trixie
|
||||
run: |
|
||||
set -euo pipefail
|
||||
|
||||
Reference in new issue
Block a user