summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yaml
blob: f0286e426b30e388a1ac830446019fc2771e4d02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: ci

on:
  push:
    branches:
      - main
  pull_request:
  workflow_dispatch:

jobs:
  run-vm:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: DeterminateSystems/nix-installer-action@main
        with:
          extra-conf: "system-features = benchmark big-parallel kvm nixos-test uid-range"
      - uses: DeterminateSystems/magic-nix-cache-action@main

      - run: nix build -L .#tests.x86_64-linux.module