Skip to content

builders: init profile based builder configuration #276

builders: init profile based builder configuration

builders: init profile based builder configuration #276

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
merge_group:
permissions:
contents: read
jobs:
# We probably should replace with a different faster CI soon,
# but atleast this gives us confidence for now
nix-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
- uses: DeterminateSystems/magic-nix-cache-action@v8
- run: nix run github:Mic92/nix-fast-build -- --no-nom
# all builds combined consume too much disk space... we should soon switch to something else
nixos:
runs-on: ubuntu-latest
strategy:
matrix:
# we actually cannot build umbriel just now
# but it also looks like it doesn't run important stuff
#machine: [caliban, umbriel]
machine: [caliban]
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
- uses: DeterminateSystems/magic-nix-cache-action@v8
- run: nix build '.#nixosConfigurations."${{ matrix.machine }}.nixos.org".config.system.build.toplevel'
nix-darwin:
runs-on: macos-latest
strategy:
matrix:
# Doesn't seem that x86_64 is still in use?
machine: [arm64]
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
- uses: DeterminateSystems/magic-nix-cache-action@v8
- run: nix build '.#darwinConfigurations."${{ matrix.machine }}".config.system.build.toplevel'