-
Notifications
You must be signed in to change notification settings - Fork 21
30 lines (30 loc) · 1 KB
/
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
name: ci
on:
pull_request:
push: # This is only run when PRs are merged into master
branches:
- master
workflow_dispatch:
jobs:
nix_checks:
name: nix checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build -L .#checks.x86_64-linux.pytest-facts
- run: nix build -L .#checks.x86_64-linux.duplicates-facts
- run: nix build -L .#checks.x86_64-linux.perl-switches
- run: nix build -L .#checks.x86_64-linux.openwrt-golden
- run: nix build -L .#checks.x86_64-linux.formatting
nix_builds:
name: nix builds
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build -L .#massflash
- run: nix build -L .#scaleInventory
- run: nix build -L .#serverspec