ci: Use mlugg's setup-zig workflow
Some checks failed
Test / build (push) Failing after 3m0s

This commit is contained in:
Kalle Carlbark 2025-01-19 19:05:58 +01:00
parent c7b28dd10e
commit 8cfb7db233

View file

@ -8,12 +8,11 @@ jobs:
uses: actions/checkout@v4
- run: |
apt update; apt install --yes sudo
- uses: https://github.com/cachix/install-nix-action@v30
- uses: https://github.com/mlugg/setup-zig@v1
with:
nix_path: nixpkgs=channel:nixos-unstable
enable_kvm: false
version: master
# Cross-compile the binary. We always use static building for this
# because its the only way to access the headers.
- name: Test
run: nix develop -c zig build test --summary all
run: zig build test --summary all