feat: CI
Some checks failed
build / test-and-build (push) Failing after 13s
test / test (push) Failing after 7s

This commit is contained in:
2025-07-25 12:56:59 +02:00
parent ead4757116
commit d6a085414c
2 changed files with 6 additions and 4 deletions

View File

@@ -14,8 +14,9 @@ jobs:
- name: Install Zig - name: Install Zig
run: | run: |
sudo apt-get install snapd ZIG_VERSION=0.14.1
snap install zig --classic --beta curl -L https://ziglang.org/download/${ZIG_VERSION}/zig-linux-x86_64-${ZIG_VERSION}.tar.xz | tar -xJ
echo "${PWD}/zig-linux-x86_64-${ZIG_VERSION}" >> $GITHUB_PATH
- name: Build binary - name: Build binary
run: zig build run: zig build

View File

@@ -13,8 +13,9 @@ jobs:
- name: Install Zig - name: Install Zig
run: | run: |
# See https://ziglang.org/download/ # See https://ziglang.org/download/
curl -L https://ziglang.org/builds/zig-x86_64-linux-0.15.0-dev.1184+c41ac8f19.tar.xz | tar -xJ ZIG_VERSION=0.14.1
echo "${PWD}/zig-x86_64-linux-0.15.0-dev.1184+c41ac8f19" >> $GITHUB_PATH curl -L https://ziglang.org/download/${ZIG_VERSION}/zig-linux-x86_64-${ZIG_VERSION}.tar.xz | tar -xJ
echo "${PWD}/zig-linux-x86_64-${ZIG_VERSION}" >> $GITHUB_PATH
- name: Run tests - name: Run tests
run: zig build test run: zig build test