-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 1.08 KB
/
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
36
37
38
39
40
41
on: [push, pull_request]
name: x86_64-linux
jobs:
flake:
runs-on: ubuntu-22.04
env:
DEBIAN_FRONTEND: noninteractive
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: "arm64,arm"
- uses: cachix/install-nix-action@v22
with:
extra_nix_config: |
accept-flake-config = true
system-features = aarch64-linux arm-linux
extra-platforms = aarch64-linux arm-linux
- name: Flake check
run: |
nix flake check --all-systems
- 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