mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-29 15:20:53 +01:00
41 lines
997 B
YAML
41 lines
997 B
YAML
---
|
|
kind: pipeline
|
|
type: exec
|
|
name: Build all hosts
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
steps:
|
|
|
|
- name: Show flake info
|
|
commands:
|
|
- nix --experimental-features "nix-command flakes" flake show
|
|
- nix --experimental-features "nix-command flakes" flake metadata
|
|
- nix --experimental-features "nix-command flakes" flake check
|
|
|
|
- name: Run flake checks
|
|
commands:
|
|
- nix --experimental-features "nix-command flakes" flake check --show-trace
|
|
|
|
- name: Build lisa
|
|
commands:
|
|
- nix build -v '.#nixosConfigurations.lisa.config.system.build.toplevel' --option binary-caches "https://cache.nixos.org"
|
|
|
|
- name: Build newton
|
|
commands:
|
|
- nix build -v '.#nixosConfigurations.newton.config.system.build.toplevel' --option binary-caches "https://cache.nixos.org"
|
|
|
|
- name: Build macintosh
|
|
commands:
|
|
- nix build -v '.#nixosConfigurations.macintosh.config.system.build.toplevel' --option binary-caches "https://cache.nixos.org"
|
|
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|
|
- pull_request
|
|
|