Skip to content

Commit 6267068

Browse files
authored
Update zig-gamedev libs. (#6)
1 parent 53c38f5 commit 6267068

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
with:
5454
path: ./.zigversion
5555
- name: Install Zig
56-
uses: goto-bus-stop/setup-zig@v2
56+
uses: mlugg/setup-zig@v1
5757
with:
5858
version: ${{ steps.zigversion.outputs.content }}
5959

@@ -81,7 +81,7 @@ jobs:
8181
with:
8282
path: ./.zigversion
8383
- name: Install Zig
84-
uses: goto-bus-stop/setup-zig@v2
84+
uses: mlugg/setup-zig@v1
8585
with:
8686
version: ${{ steps.zigversion.outputs.content }}
8787

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule "examples/libs/zig-gamedev"]
2-
path = examples/libs/zig-gamedev
3-
url = https://github.com/OndraVoves/zig-gamedev.git

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,7 @@ See examples for binding usage and [bgfx](https://github.com/bkaradzic/bgfx) for
8585

8686
## Examples
8787

88-
Examples use [zig-gamedev](https://github.com/zig-gamedev/zig-gamedev) as submodule.
89-
90-
Run this to fetch `zig-gamedev`:
91-
92-
```bash
93-
git submodule update --init --depth=1
94-
```
95-
96-
And this for build all examples:
88+
Run this for build all examples:
9789

9890
```sh
9991
cd examples

examples/build.zig.zon

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,20 @@
88

99
.dependencies = .{
1010
.zbgfx = .{ .path = "../" },
11-
.zglfw = .{ .path = "libs/zig-gamedev/libs/zglfw" },
12-
.zmath = .{ .path = "libs/zig-gamedev/libs/zmath" },
13-
.zgui = .{ .path = "libs/zig-gamedev/libs/zgui" },
11+
12+
.zglfw = .{
13+
.url = "https://github.com/zig-gamedev/zglfw/archive/d18b30438d630d44e50aa30e2300a96c4f4ff67d.tar.gz",
14+
.hash = "1220074231fcf6556b27e0ac6a3b22a19062c0c4bc3fd77c6fdcede15303af824c27",
15+
},
16+
17+
.zmath = .{
18+
.url = "https://github.com/zig-gamedev/zmath/archive/fb075f0f2f90d6d938a5959a3a79700cdec155c2.tar.gz",
19+
.hash = "1220081d55b58b968d953db1afc2fb01b2f5733929144e69522461ce25fa6450d84e",
20+
},
21+
22+
.zgui = .{
23+
.url = "https://github.com/zig-gamedev/zgui/archive/d23ed60a659d8c9c6d664b2e9bd78fae1675154e.tar.gz",
24+
.hash = "1220ffffdf1d0d2aca86a1ea31ba17ee48090b38cefb2a8487d2d801eb1fdd78becb",
25+
},
1426
},
1527
}

examples/libs/zig-gamedev

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)