File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 5
5
branches :
6
6
- master
7
7
- dev
8
+ pull_request :
9
+ types : [opened, reopened]
10
+ branches :
11
+ - master
8
12
jobs :
9
13
build :
10
14
strategy :
11
15
fail-fast : false
12
16
matrix :
13
17
zig : [ 0.12.0, master ]
14
- os : [ ubuntu-latest, windows-latest, macos-latest ]
18
+ os : [ ubuntu-latest, macos-latest ]
15
19
runs-on : ${{ matrix.os }}
16
20
name : Zig ${{ matrix.zig }} on ${{ matrix.os }}
17
21
steps :
18
22
- uses : actions/checkout@v3
19
23
- name : Setup Zig
20
- uses : korandoru/setup-zig@v1
24
+ - uses : cachix/install-nix-action@v19
25
+ with :
26
+ install_url : https://releases.nixos.org/nix/nix-2.13.3/install
27
+ nix_path : nixpkgs=channel:nixos-unstable
28
+ - uses : korandoru/setup-zig@v1
21
29
with :
22
30
zig-version : ${{ matrix.zig }}
23
- - run : make test-img
24
- - run : zig build
31
+ - run : nix develop -c zig build
You can’t perform that action at this time.
0 commit comments