mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Add Build CI (#14)
* Add Build CI Co-Authored-By: Margen67 <Margen67@users.noreply.github.com> * Readme: Change badges --------- Co-authored-by: Margen67 <Margen67@users.noreply.github.com>
This commit is contained in:
parent
d1651531c3
commit
bfcc50d000
3 changed files with 60 additions and 5 deletions
38
.github/readme.md
vendored
Normal file
38
.github/readme.md
vendored
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<div align="center">
|
||||
|
||||
# RPCSX
|
||||
*An experimental emulator for PS4 (PlayStation 4) for Linux written in C++*
|
||||
|
||||
[](../../../actions/workflows/rpcsx.yml)
|
||||
|
||||
[](../../../actions/workflows/format.yml)
|
||||
|
||||
[](https://discord.gg/t6dzA4wUdG)
|
||||
|
||||
</div>
|
||||
|
||||
> **Warning** <br/>
|
||||
> It's NOT possible to run any games yet, and there is no ETA for when this will change
|
||||
|
||||
|
||||
## Contributing
|
||||
|
||||
If you want to contribute as a developer, please contact us in the [Discord](https://discord.gg/t6dzA4wUdG).
|
||||
|
||||
## Building
|
||||
|
||||
1. Install dependencies for Debian-like distributions
|
||||
|
||||
`sudo apt install build-essential cmake libunwind-dev libglfw3-dev libvulkan-dev vulkan-validationlayers-dev spirv-tools glslang-tools`
|
||||
2. Building
|
||||
|
||||
`mkdir -p build && cd build && cmake .. && cmake --build .`
|
||||
|
||||
4. Run
|
||||
|
||||
See usage message of `rpcsx-os` (`-h` argument), or join the [Discord](https://discord.gg/t6dzA4wUdG) for help.
|
||||
|
||||
## License
|
||||
|
||||
RPCSX is licensed under GPLv2 license except directories containing their own LICENSE file, or files containing their own license.
|
||||
Thus, orbis-kernel is licensed under the MIT license.
|
||||
14
.github/workflows/format.yml
vendored
14
.github/workflows/format.yml
vendored
|
|
@ -1,15 +1,25 @@
|
|||
name: Formatting check
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- "**/*.md"
|
||||
- '**/*.txt'
|
||||
- '3rdparty/*'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "**/*.md"
|
||||
- '**/*.txt'
|
||||
- '3rdparty/*'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
formatting-check:
|
||||
name: Formatting Check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repo
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Run clang-format
|
||||
uses: jidicula/clang-format-action@v4.11.0
|
||||
with:
|
||||
|
|
|
|||
42
.github/workflows/rpcsx.yml
vendored
Normal file
42
.github/workflows/rpcsx.yml
vendored
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
name: Build RPCSX
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- "**/*.md"
|
||||
- '**/*.txt'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "**/*.md"
|
||||
- '**/*.txt'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-rpcsx:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: recursive
|
||||
|
||||
- name: Setup dependencies
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install build-essential libunwind-dev \
|
||||
libglfw3-dev libvulkan-dev vulkan-validationlayers-dev \
|
||||
spirv-tools glslang-tools
|
||||
|
||||
- name: Build RPCSX
|
||||
run: |
|
||||
cmake -B build
|
||||
cmake --build build
|
||||
|
||||
- name: Upload RPCSX
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: rpcsx-bin
|
||||
path: build/bin/*
|
||||
if-no-files-found: error
|
||||
Loading…
Add table
Add a link
Reference in a new issue