mirror of
https://github.com/ran-j/PS2Recomp.git
synced 2026-09-26 16:59:35 -04:00
8c8a97af65
* feat: added ffmepg as dependency * feat: wip decoder video * feat: some perf and cleanup * feat: added generic MPEG stream notification * feat: CMakeLists.txt in ps2xStudio to configure SDL2 build options for static linking. fix: fix ffmpeg setup for linux fix: now MPEG decoder now identify that movie has ended and can play again anytime feat: better audio stub to not block games * feat: fix expansion test * feat: foo * a * feat: finally added a helper to to prevent thread starvation * feat: added basic vu0 code execution * feat: added yield Guest Execution After Wake to prevent deadlock * feat: added options on cmake for logs feat: better input for keyboard pad * feat: small corrections like top and itop vu branches etc * feat: changes * feat: working feature * feat: fatal frame iop * feat: test fix feat: z buffer fix * fix: gix GsPutIMR IMR * feat: added rl imgui * feat: added helper to get snapshot * feat: added debug panel consuming snapshots * feat: added pad snapshot feat: added RCP debug events * feat: final cleanup from old code * feat: added EE timer counter feat: applyed sound driver for Lotr feat: better check for sound driver compat layout feat: enquee and cosumed DMa cause feat: added Pad execCMd feat: update GS vsync signal flag feat: custom IOPs for LotR * feat: small cleanups * fix: fix wrong import
81 lines
2.0 KiB
YAML
81 lines
2.0 KiB
YAML
name: build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
linux-gcc-clang:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
compiler: [gcc, clang]
|
|
|
|
name: linux-${{ matrix.compiler }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y ninja-build libgl-dev libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev pkg-config libavcodec-dev libavformat-dev libavutil-dev libswresample-dev libswscale-dev
|
|
|
|
- name: Configure
|
|
run: |
|
|
if [ "${{ matrix.compiler }}" = "gcc" ]; then
|
|
export CC=gcc
|
|
export CXX=g++
|
|
else
|
|
export CC=clang
|
|
export CXX=clang++
|
|
fi
|
|
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS=-msse4.1 -DCMAKE_CXX_FLAGS=-msse4.1
|
|
|
|
- name: Build
|
|
run: cmake --build build --config Release
|
|
|
|
- name: Tests
|
|
run: ./build/ps2xTest/ps2x_tests
|
|
|
|
windows-msvc:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- os: windows-latest
|
|
arch: x64
|
|
target_arch: x86_64
|
|
|
|
name: windows-msvc-${{ matrix.target_arch }}
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
submodules: recursive
|
|
|
|
- uses: lukka/get-cmake@latest
|
|
|
|
- uses: TheMrMilchmann/setup-msvc-dev@v4
|
|
with:
|
|
arch: ${{ matrix.arch }}
|
|
|
|
- name: Build
|
|
shell: cmd
|
|
run: |
|
|
cmake -B build
|
|
cmake --build build --config Release
|
|
|
|
- name: Tests
|
|
shell: cmd
|
|
run: |
|
|
.\build\ps2xTest\Release\ps2x_tests.exe
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@v6
|
|
with:
|
|
name: PS2Recomp - Windows
|
|
path: |
|
|
build/ps2xAnalyzer/Release/*.exe
|
|
build/ps2xRecomp/Release/*.exe
|
|
build/ps2xTest/Release/*.exe
|