-
Notifications
You must be signed in to change notification settings - Fork 8
51 lines (45 loc) · 1.29 KB
/
ci-linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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