This commit is contained in:
parent
c7b28dd10e
commit
8cfb7db233
1 changed files with 3 additions and 4 deletions
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
|
@ -8,12 +8,11 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- run: |
|
- run: |
|
||||||
apt update; apt install --yes sudo
|
apt update; apt install --yes sudo
|
||||||
- uses: https://github.com/cachix/install-nix-action@v30
|
- uses: https://github.com/mlugg/setup-zig@v1
|
||||||
with:
|
with:
|
||||||
nix_path: nixpkgs=channel:nixos-unstable
|
version: master
|
||||||
enable_kvm: false
|
|
||||||
|
|
||||||
# Cross-compile the binary. We always use static building for this
|
# Cross-compile the binary. We always use static building for this
|
||||||
# because its the only way to access the headers.
|
# because its the only way to access the headers.
|
||||||
- name: Test
|
- name: Test
|
||||||
run: nix develop -c zig build test --summary all
|
run: zig build test --summary all
|
||||||
|
|
Loading…
Add table
Reference in a new issue