File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Continuous Integration
1+ name : CI
22
33on :
44 push :
5- branches : [main]
6-
75 pull_request :
86 branches : [main]
9-
107 workflow_dispatch :
118
129jobs :
1310 build :
14- runs-on : ubuntu-latest
15-
11+ strategy :
12+ matrix :
13+ zig-version : [0.15.2]
14+ os : [ubuntu-latest, windows-latest, macos-latest]
15+ runs-on : ${{ matrix.os }}
1616 steps :
1717 - name : Check out repository
1818 uses : actions/checkout@v4
19-
2019 - name : Set up Zig
21- uses : mlugg/setup-zig@v1
22-
23- - name : Run `build`
20+ uses : mlugg/setup-zig@v2
21+ - name : Run build
2422 run : zig build
Original file line number Diff line number Diff line change @@ -14,11 +14,9 @@ zig fetch --save git+https://github.com/johan0A/VulkanMemoryAllocator
14142 . Config ` build.zig ` :
1515
1616``` zig
17- ...
1817const vma_dep = b.dependency("VulkanMemoryAllocator", .{
1918 .target = target,
2019 .optimize = optimize,
2120});
22- your_compilation.linkLibrary("vma", vma_dep.artifact("VulkanMemoryAllocator"));
23- ...
21+ root_module.linkLibrary("vma", vma_dep.artifact("VulkanMemoryAllocator"));
2422```
You can’t perform that action at this time.
0 commit comments