Skip to content

Commit 20a75da

Browse files
committed
workaround space usage in CI
1 parent fe1002d commit 20a75da

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

.github/workflows/ci.yml

+13
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,16 @@ jobs:
1919
- uses: actions/checkout@v4
2020
- uses: cachix/install-nix-action@v27
2121
- run: nix run github:Mic92/nix-fast-build -- --no-nom
22+
# all builds combined consume too much disk space... we should soon switch to something else
23+
nixos:
24+
runs-on: ubuntu-latest
25+
strategy:
26+
matrix:
27+
# we actually cannot build umbriel just now
28+
# but it also looks like it doesn't run important stuff
29+
#machine: [caliban, umbriel]
30+
machine: [caliban]
31+
steps:
32+
- uses: actions/checkout@v4
33+
- uses: cachix/install-nix-action@v27
34+
- run: nix build '.#nixosConfigurations."${{ matrix.machine }}.nixos.org".config.system.build.toplevel'

checks/flake-module.nix

+5-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
{
66
checks =
77
let
8-
nixosMachines = lib.mapAttrs' (
9-
name: config: lib.nameValuePair "nixos-${name}" config.config.system.build.toplevel
10-
) ((lib.filterAttrs (_: config: config.pkgs.system == system)) self.nixosConfigurations);
8+
# TODO: our CI doesn't have a enough space for these just now
9+
#nixosMachines = lib.mapAttrs' (
10+
# name: config: lib.nameValuePair "nixos-${name}" config.config.system.build.toplevel
11+
#) ((lib.filterAttrs (_: config: config.pkgs.system == system)) self.nixosConfigurations);
12+
nixosMachines = { };
1113

1214
packages = lib.mapAttrs' (n: lib.nameValuePair "package-${n}") self'.packages;
1315
devShells = lib.mapAttrs' (n: lib.nameValuePair "devShell-${n}") self'.devShells;

0 commit comments

Comments
 (0)