-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (38 loc) · 1012 Bytes
/
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
name: linux
on: [push]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Setup Repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install system libraries
run: |
sudo apt update
sudo apt install -y libxinerama-dev libxcursor-dev libxi-dev libgl-dev
- name: Prepare Vulkan SDK
uses: humbletim/[email protected]
with:
vulkan-query-version: 1.3.224.1
vulkan-components: Vulkan-Headers, Vulkan-Loader, Glslang
vulkan-use-cache: true
- name: Build
run: |
threads=`nproc`
cmake .
make -j $threads
- name: Build Tests
working-directory: tests
run: |
threads=`nproc`
cmake .
make -j $threads
- name: Test
working-directory: tests
env:
CTEST_OUTPUT_ON_FAILURE: 1
run: |
ctest --verbose