-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (29 loc) · 867 Bytes
/
linux.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
on: [push, pull_request]
name: x86_64-linux
jobs:
flake:
runs-on: ubuntu-22.04
env:
DEBIAN_FRONTEND: noninteractive
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v22
with:
extra_nix_config: |
accept-flake-config = true
- name: Flake check
run: |
nix flake check
- uses: cachix/cachix-action@v12
with:
name: konradmalik
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Shell build linux
run: |
nix build .#devShells.x86_64-linux.default
- name: Flake build generic linux
run: |
nix build .#homeConfigurations.konrad@generic.activationPackage
- name: Flake build m3800
run: |
nix build .#nixosConfigurations.m3800.config.system.build.toplevel