Skip to content

Commit

Permalink
GH Actions: Update zig to v0.12.0-dev.2076
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmai committed Jan 9, 2024
1 parent 9566d70 commit 98e4d0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/zig-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ jobs:
- enable_gc_debug: true # FIXME: some tests fail if gc_debug+redirect
redirect_malloc: true

# TODO: move from nightly to zig 0.12 when released.
# TODO: move from nightly to zig 0.12 final when released.
steps:
- uses: actions/checkout@v4
- name: "Install zig"
run: |
mkdir zig && curl https://ziglang.org/builds/zig-linux-x86_64-0.12.0-dev.1849+bb0f7d55e.tar.xz | tar Jx --directory=zig --strip-components=1
mkdir zig && curl https://ziglang.org/builds/zig-linux-x86_64-0.12.0-dev.2076+8fd15c6ca.tar.xz | tar Jx --directory=zig --strip-components=1
- name: Build
run: >
zig/zig build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/zig-cross-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ jobs:
- shared_libs: true
ttriple: x86_64-linux-gnux32 # FIXME: recompile with -fPIC

# TODO: move from nightly to zig 0.12 when released.
# TODO: move from nightly to zig 0.12 final when released.
steps:
- uses: actions/checkout@v4
- name: "Install zig"
run: |
mkdir zig && curl https://ziglang.org/builds/zig-linux-x86_64-0.12.0-dev.1849+bb0f7d55e.tar.xz | tar Jx --directory=zig --strip-components=1
mkdir zig && curl https://ziglang.org/builds/zig-linux-x86_64-0.12.0-dev.2076+8fd15c6ca.tar.xz | tar Jx --directory=zig --strip-components=1
- name: Build
run: >
zig/zig build -Dtarget=${{ matrix.ttriple }}
Expand Down

0 comments on commit 98e4d0a

Please sign in to comment.