Skip to content

Commit 62b7d55

Browse files
committed
update ci
1 parent 800b308 commit 62b7d55

2 files changed

Lines changed: 9 additions & 13 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
1-
name: Continuous Integration
1+
name: CI
22

33
on:
44
push:
5-
branches: [main]
6-
75
pull_request:
86
branches: [main]
9-
107
workflow_dispatch:
118

129
jobs:
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

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,9 @@ zig fetch --save git+https://github.com/johan0A/VulkanMemoryAllocator
1414
2. Config `build.zig`:
1515

1616
```zig
17-
...
1817
const 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
```

0 commit comments

Comments
 (0)