mirror of
https://github.com/PancakeTAS/lsfg-vk.git
synced 2025-10-30 07:01:10 +00:00
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
name: (Test) Build lsfg-vk
|
|
on:
|
|
push:
|
|
branches: ["test/deploying"]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Install build dependencies
|
|
uses: awalsh128/cache-apt-pkgs-action@latest
|
|
with:
|
|
packages: build-essential
|
|
clang clang-tools llvm
|
|
git cmake ninja-build
|
|
libvulkan-dev
|
|
version: 1.0
|
|
execute_install_scripts: true
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: 'recursive'
|
|
- name: Configure with CMake and Ninja
|
|
run: |
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=./build-release
|
|
- name: Build with Ninja
|
|
run: |
|
|
ninja -C build
|
|
- name: Install with CMake
|
|
run: |
|
|
cmake --install build
|
|
- name: Upload lsfg-vk artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: lsfg-vk_TEST
|
|
path: |
|
|
build-release/share/vulkan/implicit_layer.d/VkLayer_LS_frame_generation.json
|
|
build-release/lib/liblsfg-vk.so
|