alpha
Login
or
Join now
lass.pds.lassul.us
/
superconfig
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
1
Pipelines
ci: run one job per check
author
lassulus
date
2 weeks ago
(Sep 30, 2026, 4:41 PM CEST)
commit
956b5e3a
956b5e3afd57485f4a396cab5e09c89b07c53941
parent
6c1203d5
6c1203d5002919ca8bd653da3ae75eefb091c229
+59
-2
1 changed file
Expand all
Collapse all
Unified
Split
.github
workflows
ci.yml
+59
-2
.github/workflows/ci.yml
View file
Reviewed
···
4
4
push:
5
5
pull_request:
6
6
7
7
+
# nix flake check evaluates every host in one process (~19 GB peak), more than
8
8
+
# the 16 GB RAM of ubuntu-latest. One job per check keeps the peak at the
9
9
+
# largest single host and shows failing hosts in the run overview.
7
10
jobs:
11
11
+
list:
12
12
+
runs-on: ubuntu-latest
13
13
+
outputs:
14
14
+
checks: ${{ steps.list.outputs.checks }}
15
15
+
steps:
16
16
+
- uses: actions/checkout@v4
17
17
+
with:
18
18
+
# Fetch all history for git-based operations
19
19
+
fetch-depth: 0
20
20
+
21
21
+
- uses: DeterminateSystems/nix-installer-action@main
22
22
+
with:
23
23
+
extra-conf: |
24
24
+
experimental-features = nix-command flakes
25
25
+
26
26
+
- uses: DeterminateSystems/magic-nix-cache-action@main
27
27
+
with:
28
28
+
use-flakehub: false
29
29
+
30
30
+
- id: list
31
31
+
run: |
32
32
+
checks=$(nix eval --json .#checks.x86_64-linux --apply builtins.attrNames)
33
33
+
echo "checks=$checks" >> "$GITHUB_OUTPUT"
34
34
+
8
35
check:
36
36
+
needs: list
37
37
+
name: ${{ matrix.check }}
38
38
+
runs-on: ubuntu-latest
39
39
+
strategy:
40
40
+
fail-fast: false
41
41
+
matrix:
42
42
+
check: ${{ fromJSON(needs.list.outputs.checks) }}
43
43
+
steps:
44
44
+
- uses: actions/checkout@v4
45
45
+
with:
46
46
+
# Fetch all history for git-based operations
47
47
+
fetch-depth: 0
48
48
+
49
49
+
- uses: DeterminateSystems/nix-installer-action@main
50
50
+
with:
51
51
+
extra-conf: |
52
52
+
experimental-features = nix-command flakes
53
53
+
54
54
+
- uses: DeterminateSystems/magic-nix-cache-action@main
55
55
+
with:
56
56
+
use-flakehub: false
57
57
+
58
58
+
- run: nix build -L --no-link '.#checks.x86_64-linux.${{ matrix.check }}'
59
59
+
60
60
+
outputs:
61
61
+
name: packages and devShells
9
62
runs-on: ubuntu-latest
10
63
steps:
11
64
- uses: actions/checkout@v4
···
22
75
with:
23
76
use-flakehub: false
24
77
25
25
-
- name: Run flake checks
26
26
-
run: nix flake check
78
78
+
- run: |
79
79
+
for output in packages devShells; do
80
80
+
echo "$output:"
81
81
+
# shellcheck disable=SC2016 # ${...} is Nix interpolation
82
82
+
nix eval --raw ".#$output.x86_64-linux" --apply 'xs: builtins.deepSeq (builtins.mapAttrs (_: x: x.drvPath) xs) "${toString (builtins.length (builtins.attrNames xs))} evaluated\n"'
83
83
+
done