-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (29 loc) · 853 Bytes
/
cmake.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
name: Build Project
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
BUILD_TYPE: Release
jobs:
build-ubutnu:
name: Build Project - Ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: humbletim/setup-vulkan-sdk@v1.2.0
with:
vulkan-query-version: 1.3.204.0
vulkan-components: Vulkan-Headers, Vulkan-Loader
vulkan-use-cache: true
- name: Install dependencies
run: sudo apt-get install libxinerama-dev; sudo apt-get install libxcursor-dev; sudo apt install xorg-dev
- name: Initialize submodules
run: git submodule init
- name: Update submodules
run: git submodule update
- name: Configure CMake
run: cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE .
- name: Build with Make
run: make