Fix warning related to overwriting local member #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/actions-setup-cmake@v1.13 | |
with: | |
cmake-version: ${{ env.CMakeVersion }} | |
- name: Install Vulkan SDK | |
uses: humbletim/install-vulkan-sdk@v1.1.1 | |
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 |