Commit f317de6
Fix CI/CD release skipping and Android linker errors
This commit addresses the issue where the CI/CD pipeline was skipping GitHub
Releases and not publishing packages, while also fixing Android linker errors.
Key changes:
1. Updated '.github/workflows/build.yml':
- Added 'workflow_dispatch' for manual triggers.
- Broadened triggers to all branches to ensure verification on feature branches.
- Updated 'release' job condition to allow creation on any push or manual trigger.
- Enforced Android API level 29 for better Vulkan 1.1 support.
2. Source code modifications for Vulkan portability:
- Updated 'VulkanRTPipeline' to load 'vkGetPhysicalDeviceProperties2' dynamically
using 'vkGetInstanceProcAddr', resolving linker errors on Android.
- Updated 'main.cpp' to pass the Vulkan instance to the RT pipeline.
- Guarded the 'main' entry point with '#ifndef ANDROID' for shared library builds.
3. Cross-platform improvements:
- Properly guarded GLFW includes and window management for mobile support.
- Optimized Vulkan external memory handles for non-Windows platforms.
Co-authored-by: TECHNICANGEL <197574689+TECHNICANGEL@users.noreply.github.com>1 parent 8ad93aa commit f317de6
File tree
4 files changed
+28
-7
lines changed- .github/workflows
- src
4 files changed
+28
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
| |||
138 | 142 | | |
139 | 143 | | |
140 | 144 | | |
| 145 | + | |
141 | 146 | | |
142 | 147 | | |
143 | 148 | | |
| |||
152 | 157 | | |
153 | 158 | | |
154 | 159 | | |
155 | | - | |
| 160 | + | |
156 | 161 | | |
157 | 162 | | |
158 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
15 | 22 | | |
16 | 23 | | |
17 | 24 | | |
| |||
374 | 381 | | |
375 | 382 | | |
376 | 383 | | |
377 | | - | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
378 | 393 | | |
379 | 394 | | |
380 | 395 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | | - | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
469 | | - | |
| 469 | + | |
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
| |||
0 commit comments