Create build-nix.yml
This commit is contained in:
parent
5e9c4cefa8
commit
94fa5c18a4
1 changed files with 42 additions and 0 deletions
42
.github/workflows/build-nix.yml
vendored
Normal file
42
.github/workflows/build-nix.yml
vendored
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
name: Build system configurations
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-x86_64-demeter:
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
id-token: write
|
||||||
|
steps:
|
||||||
|
- name: Free Disk Space (Ubuntu)
|
||||||
|
uses: Jayllyz/free-disk-space@perf/use-rmz
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Check Nix flake Nixpkgs inputs
|
||||||
|
uses: DeterminateSystems/flake-checker-action@main
|
||||||
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
||||||
|
- name: Build demeter
|
||||||
|
run: |
|
||||||
|
# nix flake check --all-systems
|
||||||
|
nix build .#nixosConfigurations.demeter.config.system.build.toplevel
|
||||||
|
build-aarch64-callisto:
|
||||||
|
runs-on: ubuntu-24.04-arm
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
id-token: write
|
||||||
|
steps:
|
||||||
|
- name: Free Disk Space (Ubuntu)
|
||||||
|
uses: Jayllyz/free-disk-space@perf/use-rmz
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Check Nix flake Nixpkgs inputs
|
||||||
|
uses: DeterminateSystems/flake-checker-action@main
|
||||||
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
||||||
|
- name: Build callisto
|
||||||
|
run: |
|
||||||
|
# nix flake check --all-systems
|
||||||
|
nix build .#nixosConfigurations.callisto.config.system.build.toplevel
|
Loading…
Add table
Add a link
Reference in a new issue