-
Notifications
You must be signed in to change notification settings - Fork 132
53 lines (51 loc) · 1.24 KB
/
nix.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Nix
on:
push:
branches:
- master
- catalyst-fund*
pull_request:
jobs:
build-jormungandr:
name: Build jormungandr
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/nix-common-setup
with:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Flake check
run: nix flake check
- name: Build
run: nix build .#jormungandr
build:
name: Build ${{ matrix.package }}
needs: build-jormungandr
strategy:
fail-fast: false
matrix:
package:
- "jormungandr-entrypoint"
- "jormungandr-lib"
- "jcli"
- "explorer"
- "modules/settings"
- "modules/blockchain"
- "testing/jormungandr-automation"
- "testing/jormungandr-integration-tests"
- "testing/loki"
- "testing/mjolnir"
- "testing/hersir"
- "testing/thor"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/nix-common-setup
with:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Build
run: nix build .#${{ matrix.package }}