Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all: update to latest Zig version #12

Merged
merged 2 commits into from
Jun 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
- name: Setup Zig
run: |
sudo apt install xz-utils
sudo sh -c 'wget -c https://pkg.machengine.org/zig/zig-linux-x86_64-0.12.0-dev.3180+83e578a18.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
sudo sh -c 'wget -c https://pkg.machengine.org/zig/zig-linux-x86_64-0.13.0-dev.351+64ef45eb0.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
- name: build
run: zig build
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Zig stuff
zig-*
.zig-cache
14 changes: 7 additions & 7 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ pub fn build(b: *std.Build) void {
.optimize = optimize,
});

lib.installHeadersDirectory("GL", "GL");
lib.installHeadersDirectory("GLES", "GLES");
lib.installHeadersDirectory("GLES2", "GLES2");
lib.installHeadersDirectory("GLES3", "GLES3");
lib.installHeadersDirectory("GLSC2", "GLSC2");
lib.installHeadersDirectory("EGL", "EGL");
lib.installHeadersDirectory("KHR", "KHR");
lib.installHeadersDirectory(b.path("GL"), "GL", .{});
lib.installHeadersDirectory(b.path("GLES"), "GLES", .{});
lib.installHeadersDirectory(b.path("GLES2"), "GLES2", .{});
lib.installHeadersDirectory(b.path("GLES3"), "GLES3", .{});
lib.installHeadersDirectory(b.path("GLSC2"), "GLSC2", .{});
lib.installHeadersDirectory(b.path("EGL"), "EGL", .{});
lib.installHeadersDirectory(b.path("KHR"), "KHR", .{});

b.installArtifact(lib);
}
Loading