-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (29 loc) · 889 Bytes
/
linux.yaml
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
name: linux-build
on:
push
# branches:
# - main
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Update apt-get database
run: sudo apt-get update
- name: Install packages
run: sudo apt-get install libgtk-3-dev libudev-dev
- name: Change mode of glslangvalidator
run: chmod +x ${GITHUB_WORKSPACE}/The-Forge/Common_3/Graphics/ThirdParty/OpenSource/VulkanSDK/bin/Linux/glslangValidator
- name: Create output dir
run: mkdir build
- name: Configure the project.
run: cmake ${GITHUB_WORKSPACE}
working-directory: build
- name: Build the project.
run: cmake --build build --config Release
- uses: actions/upload-artifact@v4
with:
name: linux
path: build