mirror of
https://github.com/PancakeTAS/lsfg-vk.git
synced 2025-10-30 07:01:10 +00:00
update workflows
This commit is contained in:
parent
a7306ed64a
commit
d2062c98ad
5 changed files with 11 additions and 13 deletions
4
.github/workflows/build-arch.yml
vendored
4
.github/workflows/build-arch.yml
vendored
|
|
@ -3,7 +3,6 @@ on:
|
|||
push:
|
||||
branches: ["develop"]
|
||||
|
||||
|
||||
jobs:
|
||||
build-arch:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -21,7 +20,8 @@ jobs:
|
|||
base-devel git \
|
||||
clang llvm \
|
||||
cmake ninja \
|
||||
spirv-headers vulkan-headers vulkan-icd-loader
|
||||
spirv-headers vulkan-headers vulkan-icd-loader \
|
||||
xorg
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
|
|||
3
.github/workflows/build-debian.yml
vendored
3
.github/workflows/build-debian.yml
vendored
|
|
@ -23,7 +23,8 @@ jobs:
|
|||
clang clang-tools llvm \
|
||||
git tar \
|
||||
cmake ninja-build \
|
||||
spirv-headers libvulkan-dev
|
||||
spirv-headers libvulkan-dev \
|
||||
xorg-dev xutils-dev
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
|
|||
4
.github/workflows/build-fedora.yml
vendored
4
.github/workflows/build-fedora.yml
vendored
|
|
@ -3,7 +3,6 @@ on:
|
|||
push:
|
||||
branches: ["develop"]
|
||||
|
||||
|
||||
jobs:
|
||||
build-fedora:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -23,7 +22,8 @@ jobs:
|
|||
git \
|
||||
clang llvm \
|
||||
cmake ninja-build \
|
||||
spirv-headers-devel vulkan-headers vulkan-loader-devel
|
||||
spirv-headers-devel vulkan-headers vulkan-loader-devel \
|
||||
libX11-devel libXrandr-devel libXinerama-devel libXcursor-devel libXi-devel mesa-libGL-devel
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
|
|||
7
.github/workflows/build-ubuntu.yml
vendored
7
.github/workflows/build-ubuntu.yml
vendored
|
|
@ -3,11 +3,13 @@ on:
|
|||
push:
|
||||
branches: ["develop"]
|
||||
|
||||
|
||||
jobs:
|
||||
build-ubuntu:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Prepare permissions for apt cache
|
||||
run: |
|
||||
sudo chmod a+rwx -R /var/cache/apt/archives
|
||||
- name: Prepare cache for apt packages
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
|
|
@ -22,7 +24,8 @@ jobs:
|
|||
clang clang-tools llvm \
|
||||
git tar \
|
||||
cmake ninja-build \
|
||||
spirv-headers libvulkan-dev
|
||||
spirv-headers libvulkan-dev \
|
||||
xorg-dev xutils-dev
|
||||
- name: Checkout SPIR-V
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -91,9 +91,3 @@ install(FILES "${CMAKE_BINARY_DIR}/liblsfg-vk.so"
|
|||
DESTINATION lib)
|
||||
install(FILES "${CMAKE_SOURCE_DIR}/VkLayer_LS_frame_generation.json"
|
||||
DESTINATION share/vulkan/implicit_layer.d)
|
||||
|
||||
set(conf_file "$ENV{HOME}/.config/lsfg-vk/conf.toml")
|
||||
if(NOT EXISTS "${conf_file}")
|
||||
install(FILES "${CMAKE_SOURCE_DIR}/conf.toml"
|
||||
DESTINATION ~/.config/lsfg-vk)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue