Skip to content

Commit 04724a8

Browse files
committed
Update to Zig 0.16.0 in CI and release workflows
1 parent d7e0fd1 commit 04724a8

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- uses: mlugg/setup-zig@v2
2020
with:
21-
version: 0.15.2
21+
version: 0.16.0
2222

2323
- name: Build WASM
2424
run: zig build -Dtarget=wasm32-freestanding -Doptimize=ReleaseSmall
@@ -48,7 +48,7 @@ jobs:
4848

4949
- uses: mlugg/setup-zig@v2
5050
with:
51-
version: 0.15.2
51+
version: 0.16.0
5252

5353
- name: Build Zig library
5454
run: zig build -Doptimize=ReleaseFast
@@ -72,9 +72,9 @@ jobs:
7272
if: runner.os == 'Windows'
7373
run: |
7474
mkdir -p deps/zigler/priv/erl_nif_win
75-
curl -sL "https://raw.githubusercontent.com/E-xyza/zigler/0.15.2/priv/erl_nif_win/erl_nif_win.h" \
75+
curl -sL "https://raw.githubusercontent.com/bcardarella/zigler/main/priv/erl_nif_win/erl_nif_win.h" \
7676
-o deps/zigler/priv/erl_nif_win/erl_nif_win.h
77-
curl -sL "https://raw.githubusercontent.com/E-xyza/zigler/0.15.2/priv/erl_nif_win/erl_nif_api_funcs_win.h" \
77+
curl -sL "https://raw.githubusercontent.com/bcardarella/zigler/main/priv/erl_nif_win/erl_nif_api_funcs_win.h" \
7878
-o deps/zigler/priv/erl_nif_win/erl_nif_api_funcs_win.h
7979
8080
- name: Run Elixir tests

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
- uses: mlugg/setup-zig@v2
3838
with:
39-
version: 0.15.2
39+
version: 0.16.0
4040

4141
- name: Build Zig library
4242
run: zig build -Doptimize=ReleaseFast
@@ -60,9 +60,9 @@ jobs:
6060
if: runner.os == 'Windows'
6161
run: |
6262
mkdir -p deps/zigler/priv/erl_nif_win
63-
curl -sL "https://raw.githubusercontent.com/E-xyza/zigler/0.15.2/priv/erl_nif_win/erl_nif_win.h" \
63+
curl -sL "https://raw.githubusercontent.com/bcardarella/zigler/main/priv/erl_nif_win/erl_nif_win.h" \
6464
-o deps/zigler/priv/erl_nif_win/erl_nif_win.h
65-
curl -sL "https://raw.githubusercontent.com/E-xyza/zigler/0.15.2/priv/erl_nif_win/erl_nif_api_funcs_win.h" \
65+
curl -sL "https://raw.githubusercontent.com/bcardarella/zigler/main/priv/erl_nif_win/erl_nif_api_funcs_win.h" \
6666
-o deps/zigler/priv/erl_nif_win/erl_nif_api_funcs_win.h
6767
6868
- name: Run Elixir tests
@@ -99,7 +99,7 @@ jobs:
9999

100100
- uses: mlugg/setup-zig@v2
101101
with:
102-
version: 0.15.2
102+
version: 0.16.0
103103

104104
- name: Set up Erlang/Elixir
105105
uses: erlef/setup-beam@v1
@@ -117,9 +117,9 @@ jobs:
117117
if: runner.os == 'Windows'
118118
run: |
119119
mkdir -p deps/zigler/priv/erl_nif_win
120-
curl -sL "https://raw.githubusercontent.com/E-xyza/zigler/0.15.2/priv/erl_nif_win/erl_nif_win.h" \
120+
curl -sL "https://raw.githubusercontent.com/bcardarella/zigler/main/priv/erl_nif_win/erl_nif_win.h" \
121121
-o deps/zigler/priv/erl_nif_win/erl_nif_win.h
122-
curl -sL "https://raw.githubusercontent.com/E-xyza/zigler/0.15.2/priv/erl_nif_win/erl_nif_api_funcs_win.h" \
122+
curl -sL "https://raw.githubusercontent.com/bcardarella/zigler/main/priv/erl_nif_win/erl_nif_api_funcs_win.h" \
123123
-o deps/zigler/priv/erl_nif_win/erl_nif_api_funcs_win.h
124124
125125
- name: Build NIF
@@ -157,7 +157,7 @@ jobs:
157157

158158
- uses: mlugg/setup-zig@v2
159159
with:
160-
version: 0.15.2
160+
version: 0.16.0
161161

162162
- name: Build WASM
163163
run: zig build -Doptimize=ReleaseSmall -Dtarget=wasm32-freestanding

build.zig.zon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
.fingerprint = 0x11679169ab20a635, // Changing this has security and trust implications.
2626
// Tracks the earliest Zig version that the package considers to be a
2727
// supported use case.
28-
.minimum_zig_version = "0.15.2",
28+
.minimum_zig_version = "0.16.0",
2929
// This field is optional.
3030
// Each dependency must either provide a `url` and `hash`, or a `path`.
3131
// `zig build --fetch` can be used to fetch all dependencies of a package, recursively.

0 commit comments

Comments
 (0)