Skip to content

Adjust to use vsg version 1.1.3 api #96

Adjust to use vsg version 1.1.3 api

Adjust to use vsg version 1.1.3 api #96

Workflow file for this run

name: Compile Check (Linux)
on:
push:
pull_request:
env:
CMakeVersion: 3.14.x
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
vsg-tag: [master, VulkanSceneGraph-1.0]
build-shared: [ON]
vulkan-version: [1.3.224.1]
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Setup cmake
uses: jwlawson/[email protected]
with:
cmake-version: ${{ env.CMakeVersion }}
- name: Install Vulkan SDK
uses: humbletim/[email protected]
with:
version: ${{ matrix.vulkan-version }}
cache: true
- name: Checkout vsg
uses: actions/checkout@v3
with:
repository: vsg-dev/VulkanSceneGraph
ref: ${{matrix.vsg-tag}}
path: vsg
submodules: true
- name: Build and Install VSG
shell: bash
run: |
cd vsg
cmake . -DBUILD_SHARED_LIBS=${{matrix.build-shared}} -DCMAKE_INSTALL_PREFIX=../install
cmake --build . --target install --config Release --parallel 4
- name: Build and Install VSGVR
shell: bash
run: |
cmake . -DBUILD_SHARED_LIBS=${{matrix.build-shared}} -DCMAKE_INSTALL_PREFIX=./install
cmake --build . --target install --config Release --parallel 4