-
Notifications
You must be signed in to change notification settings - Fork 89
62 lines (58 loc) · 1.56 KB
/
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
52
53
54
55
56
57
58
59
60
61
62
name: Linux
env:
VK_VERSION: 1.3.275.0
on:
push:
branches:
- master
jobs:
Linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Install required packages
shell: bash
run: |
sudo apt-get -qq update
sudo apt-get install -y yad make gcc g++ mesa-common-dev libglu1-mesa-dev libxxf86dga-dev libxxf86vm-dev libasound2-dev libx11-dev libxcb1-dev
- name: Install Vulkan SDK
uses: humbletim/[email protected]
with:
version: $VK_VERSION
cache: true
- name: Build vkQuake2 Debug
shell: bash
run: |
cd linux
make clean debug
cd ..
- name: Upload vkQuake2 Debug artifacts
uses: actions/upload-artifact@v3
with:
name: vkQuake2-Ubuntu-debug-x64
path: |
linux/debugx64
!linux/debugx64/**/*.o
- name: Build vkQuake2 Release
shell: bash
run: |
cd linux
make clean release
cd ..
- name: Upload vkQuake2 Release artifacts
uses: actions/upload-artifact@v3
with:
name: vkQuake2-Ubuntu-release-x64
path: |
linux/releasex64
!linux/releasex64/**/*.o
- name: Build vkQuake2 appImage
shell: bash
run: |
linux/appimage/appimage.sh
- name: Upload vkQuake2 AppImage artifacts
uses: actions/upload-artifact@v3
with:
name: vkQuake2-AppImage
path: |
vkQuake.AppImage