-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (32 loc) · 855 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: "build"
on:
pull_request:
push:
jobs:
mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
with:
name: yuanwang-wf
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
#https://github.com/github/roadmap/issues/528
- run: nix build .#wf17084
nixos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
with:
name: yuanwang-wf
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
extraPullNames: yuanwang-wf,nix-community
# - run: nix build .#asche -L
- run: echo 'test'