Skip to content

Build RPCSX

Build RPCSX #258

Workflow file for this run

name: Build RPCSX
on:
#push:
workflow_dispatch:
jobs:
build-rpcsx:
runs-on: ubuntu-latest
container:
image: fedora:latest
steps:
- name: Setup dependencies
run: |
sudo dnf install -y git cmake gcc-c++ gcc libunwind-devel glfw-devel vulkan-devel vulkan-validation-layers-devel sox-devel spirv-tools glslang-devel spirv-tools-devel xbyak-devel
git config --global --add safe.directory '*'
- name: Checkout
uses: actions/checkout@v3
with:
repository: RPCSX/rpcsx # qurious-pixel/rpcsx # abouvier/rpcsx #
ref: master # fedora # submodules #
submodules: recursive
- name: Setup SPIRV-Cross
run: |
git clone https://github.com/KhronosGroup/SPIRV-Cross
cd SPIRV-Cross
mkdir build && cd build
cmake .. && cmake --build .
sudo make install
- name: RPCSX (Fixes)
run: |
echo "Fixes"
#sed -i 's/0x0000010000000000/0x0000010000000000,--no-relax/g' rpcsx-os/CMakeLists.txt
#sed -i 's/target_link_options/#target_link_options/g' rpcsx-os/CMakeLists.txt
- name: Build RPCSX
run: |
cmake -B build
cmake --build build -j4
- name: Upload RPCSX
uses: actions/upload-artifact@v3
with:
name: rpcsx-bin
path: build/bin/*
if-no-files-found: error