Skip to content

Commit ae8c5ab

Browse files
committed
fix ci
1 parent 1bfdcb9 commit ae8c5ab

2 files changed

Lines changed: 28 additions & 32 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 27 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,31 @@ on:
1010
workflow_dispatch:
1111

1212
jobs:
13-
deppkg:
14-
runs-on: ubuntu-latest
15-
steps:
16-
- name: Check out repository
17-
uses: actions/checkout@v4
18-
19-
- name: Set up Zig
20-
uses: mlugg/setup-zig@v1.2.1
21-
with:
22-
version: 0.14.0
23-
24-
- name: setup zigpkg
25-
uses: shrink/actions-docker-extract@v3
26-
with:
27-
image: "registry.gitlab.com/dasimmet/zig-container:latest"
28-
path: /bin/zigpkg
29-
destination: zig-out
30-
31-
- name: create deppkg
32-
run: ./zig-out/zigpkg deppkg create zig-out/deppkg.tar.gz
33-
34-
- uses: actions/upload-artifact@v4
35-
with:
36-
name: deppkg
37-
path: zig-out/deppkg.tar.gz
38-
overwrite: false
39-
include-hidden-files: false
13+
# deppkg:
14+
# runs-on: ubuntu-latest
15+
# steps:
16+
# - name: Check out repository
17+
# uses: actions/checkout@v4
18+
19+
# - name: Set up Zig
20+
# uses: mlugg/setup-zig@v2.0.5
21+
22+
# - name: setup zigpkg
23+
# uses: shrink/actions-docker-extract@v3
24+
# with:
25+
# image: "registry.gitlab.com/dasimmet/zig-container:latest"
26+
# path: /bin/zigpkg
27+
# destination: zig-out
28+
29+
# - name: create deppkg
30+
# run: ./zig-out/zigpkg deppkg create zig-out/deppkg.tar.gz
31+
32+
# - uses: actions/upload-artifact@v4
33+
# with:
34+
# name: deppkg
35+
# path: zig-out/deppkg.tar.gz
36+
# overwrite: false
37+
# include-hidden-files: false
4038

4139
build_with_zig_master:
4240
name: "Build with zig master"
@@ -47,9 +45,7 @@ jobs:
4745
uses: actions/checkout@v4
4846

4947
- name: Set up Zig
50-
uses: mlugg/setup-zig@v1.2.1
51-
with:
52-
version: master
48+
uses: mlugg/setup-zig@v2.0.5
5349

5450
- name: Fetch Dependencies
5551
run: zig build --verbose --fetch
@@ -79,7 +75,7 @@ jobs:
7975
uses: actions/checkout@v4
8076

8177
- name: Set up Zig
82-
uses: mlugg/setup-zig@v1.2.1
78+
uses: mlugg/setup-zig@v2.0.5
8379
with:
8480
version: 0.14.0
8581

src/zonparse.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const builtin = @import("builtin");
1919
const zig_15_or_later = builtin.zig_version.order(std.SemanticVersion.parse("0.14.99") catch unreachable) == .gt;
2020

2121
// changes to readFileAllocOptions after this
22-
const later_than_zig_15_1 = builtin.zig_version.order(std.SemanticVersion.parse("0.15.1") catch unreachable) == .gt;
22+
const later_than_zig_15_1 = builtin.zig_version.order(std.SemanticVersion.parse("0.15.99") catch unreachable) == .gt;
2323

2424
pub const zonparse = if (zig_15_or_later)
2525
@import("zonparse-master.zig")

0 commit comments

Comments
 (0)