rpcsx/.github/workflows/rpcsx.yml
RyzenDew ff263057bd
Bump vk headers (#30)
* Update rpcsx.yml

* Update rpcsx.yml

* Update rpcsx.yml

* Fixing clang format ?

hope this works

* Update .github/workflows/rpcsx.yml

Co-authored-by: Margen67 <Margen67@users.noreply.github.com>

* Update .github/workflows/rpcsx.yml

Co-authored-by: Margen67 <Margen67@users.noreply.github.com>

* Update .github/workflows/rpcsx.yml

Co-authored-by: Margen67 <Margen67@users.noreply.github.com>

* Update .github/workflows/rpcsx.yml

Co-authored-by: Margen67 <Margen67@users.noreply.github.com>

* Fix a bad suggestion

* random thing

---------

Co-authored-by: Margen67 <Margen67@users.noreply.github.com>
2023-07-25 22:33:36 +03:00

51 lines
1.2 KiB
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:
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 libspirv-cross-c-shared-dev \
libxbyak-dev
VULKANVER=1.3.259
curl -sSfLo Vulkan-Headers.tar.gz https://github.com/KhronosGroup/Vulkan-Headers/archive/v${VULKANVER}.tar.gz
tar -xf Vulkan-Headers*.tar.gz
cd Vulkan-Headers*/
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
make -j$(nproc)
sudo make install
- 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