1+ name : VKVM
2+ on :
3+ workflow_dispatch :
4+ push :
5+ branches :
6+ - vma
7+ paths :
8+ - .github/workflows/vkvm.yml
9+ jobs :
10+ windows-x64 :
11+ name : Windows (x64)
12+ runs-on : windows-2019
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v4
16+ - name : Prepare Vulkan SDK
17+ uses : humbletim/setup-vulkan-sdk@v1.2.1
18+ with :
19+ vulkan-query-version : latest
20+ vulkan-components : Vulkan-Headers, Vulkan-Loader
21+ vulkan-use-cache : true
22+ - name : Build
23+ run : .\build.cmd
24+ working-directory : .\src\VKVM
25+ - name : Upload Windows native libs
26+ uses : actions/upload-artifact@v4
27+ with :
28+ name : windows-x64
29+ path : lib/Native/Aardvark.Rendering.Vulkan/windows/AMD64/
30+ linux-x64 :
31+ name : Linux (x64)
32+ runs-on : ubuntu-22.04
33+ steps :
34+ - name : Checkout
35+ uses : actions/checkout@v4
36+ - name : Prepare Vulkan SDK
37+ uses : humbletim/setup-vulkan-sdk@v1.2.1
38+ with :
39+ vulkan-query-version : latest
40+ vulkan-components : Vulkan-Headers, Vulkan-Loader
41+ vulkan-use-cache : true
42+ - name : Build
43+ run : ./build.sh
44+ working-directory : ./src/VKVM
45+ - name : Upload Linux native libs
46+ uses : actions/upload-artifact@v4
47+ with :
48+ name : linux-x64
49+ path : lib/Native/Aardvark.Rendering.Vulkan/linux/AMD64/
50+ macos-x64 :
51+ name : MacOS (x64)
52+ runs-on : macos-13
53+ steps :
54+ - name : Checkout
55+ uses : actions/checkout@v4
56+ - name : Prepare Vulkan SDK
57+ uses : humbletim/setup-vulkan-sdk@v1.2.1
58+ with :
59+ vulkan-query-version : latest
60+ vulkan-components : Vulkan-Headers, Vulkan-Loader
61+ vulkan-use-cache : true
62+ - name : Build
63+ run : ./build.sh
64+ working-directory : ./src/VKVM
65+ - name : Upload MacOS native libs
66+ uses : actions/upload-artifact@v4
67+ with :
68+ name : mac-x64
69+ path : lib/Native/Aardvark.Rendering.Vulkan/mac/AMD64/
70+ macos-arm64 :
71+ name : MacOS (ARM64)
72+ runs-on : macos-14
73+ steps :
74+ - name : Checkout
75+ uses : actions/checkout@v4
76+ - name : Prepare Vulkan SDK
77+ uses : humbletim/setup-vulkan-sdk@v1.2.1
78+ with :
79+ vulkan-query-version : latest
80+ vulkan-components : Vulkan-Headers, Vulkan-Loader
81+ vulkan-use-cache : true
82+ - name : Build
83+ run : ./build.sh
84+ working-directory : ./src/VKVM
85+ - name : Upload MacOS native libs
86+ uses : actions/upload-artifact@v4
87+ with :
88+ name : mac-arm64
89+ path : lib/Native/Aardvark.Rendering.Vulkan/mac/ARM64/
90+ build :
91+ name : Build
92+ runs-on : windows-latest
93+ needs :
94+ - windows-x64
95+ - linux-x64
96+ - macos-x64
97+ - macos-arm64
98+ steps :
99+ - name : Checkout
100+ uses : actions/checkout@v4
101+ - name : Download MacOS dependencies (x64)
102+ uses : actions/download-artifact@v4
103+ with :
104+ name : mac-x64
105+ path : lib/Native/Aardvark.Rendering.Vulkan/mac/AMD64/
106+ - name : Download MacOS dependencies (arm64)
107+ uses : actions/download-artifact@v4
108+ with :
109+ name : mac-arm64
110+ path : lib/Native/Aardvark.Rendering.Vulkan/mac/ARM64/
111+ - name : Download Linux dependencies
112+ uses : actions/download-artifact@v4
113+ with :
114+ name : linux-x64
115+ path : lib/Native/Aardvark.Rendering.Vulkan/linux/AMD64/
116+ - name : Download Windows dependencies
117+ uses : actions/download-artifact@v4
118+ with :
119+ name : windows-x64
120+ path : lib/Native/Aardvark.Rendering.Vulkan/windows/AMD64/
121+ # - name: Create Pull Request
122+ # uses: peter-evans/create-pull-request@v7
123+ # with:
124+ # commit-message: "[VKVM] Update native libraries"
125+ # branch: vkvm-ci-build
126+ # title: "[VKVM] Update native libraries"
0 commit comments