mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-23 06:46:02 +00:00
The FEX build pinned FEX-2610 and its tag checks only accepted four digits, so FEX-2611.1 was never picked up. The build now takes the latest release tag, and Fixed-upstream compares the four-digit release. CMake 4.5 rejects DEPENDS in install(CODE), which stopped host thunk builds; patch 0007 drops it.
49 lines
1.5 KiB
YAML
49 lines
1.5 KiB
YAML
name: Build FEX (x86-64 Steam client)
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'tools/fex/**'
|
|
- '.github/workflows/build-fex.yml'
|
|
workflow_dispatch:
|
|
inputs:
|
|
thunks:
|
|
description: 'Build the host thunks (Vulkan/GL/X11/... to the runtime arm64 libraries)'
|
|
required: false
|
|
default: 'false'
|
|
cxxflags:
|
|
description: 'Extra CXXFLAGS for a diagnostic build (e.g. -DDEBUG_STRACE)'
|
|
required: false
|
|
default: ''
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-24.04-arm
|
|
timeout-minutes: 120
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
persist-credentials: false
|
|
- name: Build in Arch Linux ARM
|
|
env:
|
|
GH_TOKEN: ${{ github.token }}
|
|
FEX_EXTRA_CXXFLAGS: ${{ inputs.cxxflags }}
|
|
FEX_THUNKS: ${{ inputs.thunks == 'true' && '1' || '0' }}
|
|
run: |
|
|
set -euo pipefail
|
|
FEX_VERSION=$(gh api repos/FEX-Emu/FEX/releases/latest --jq .tag_name)
|
|
echo "Building $FEX_VERSION, FEX's latest release"
|
|
docker run --rm -e FEX_VERSION="$FEX_VERSION" -e FEX_EXTRA_CXXFLAGS="$FEX_EXTRA_CXXFLAGS" -e FEX_THUNKS="$FEX_THUNKS" -v "$PWD:/work" -w /work menci/archlinuxarm:base-devel bash tools/fex/build-in-arch.sh
|
|
sudo chown -R "$(id -u):$(id -g)" .
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: fex
|
|
path: |
|
|
fex.tzst
|
|
fex.tzst.sha256
|
|
fex-needed.txt
|
|
fex-files.txt
|