mirror of
https://github.com/RPCSX/rpcsx.git
synced 2024-11-23 19:39:47 +00:00
workflows: update vulkan headers
This commit is contained in:
parent
92180ffcb8
commit
13b760a539
10
.github/workflows/rpcsx.yml
vendored
10
.github/workflows/rpcsx.yml
vendored
@ -26,21 +26,21 @@ jobs:
|
||||
sudo apt update
|
||||
sudo apt install -y cmake build-essential libunwind-dev \
|
||||
libglfw3-dev libvulkan-dev vulkan-validationlayers \
|
||||
libsox-dev ninja-build
|
||||
libsox-dev
|
||||
echo "deb http://azure.archive.ubuntu.com/ubuntu noble main universe" | sudo tee /etc/apt/sources.list
|
||||
sudo apt update
|
||||
sudo apt install g++-14
|
||||
VULKANVER=1.3.259
|
||||
sudo apt install g++-14 ninja-build
|
||||
VULKANVER=1.3.290
|
||||
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*/
|
||||
cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++-14 -DCMAKE_INSTALL_PREFIX=/usr
|
||||
cmake -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++-14 -DCMAKE_INSTALL_PREFIX=/usr
|
||||
cmake --build build -j$(($(nproc) + 2))
|
||||
sudo cmake --build build --target install
|
||||
|
||||
- name: Build RPCSX
|
||||
run: |
|
||||
cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++-14 -DCMAKE_CXX_FLAGS_INIT="-march=native" && \
|
||||
cmake -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++-14 -DCMAKE_CXX_FLAGS_INIT="-march=native" && \
|
||||
cmake --build build -j$(($(nproc) + 2))
|
||||
|
||||
- name: Upload RPCSX
|
||||
|
Loading…
Reference in New Issue
Block a user