mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
* Add Build CI Co-Authored-By: Margen67 <Margen67@users.noreply.github.com> * Readme: Change badges --------- Co-authored-by: Margen67 <Margen67@users.noreply.github.com>
43 lines
831 B
YAML
43 lines
831 B
YAML
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
|