Skip to content

feat: edit and save tag/device config with merged values #48

feat: edit and save tag/device config with merged values

feat: edit and save tag/device config with merged values #48

Workflow file for this run

name: "Build"
on:
pull_request:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Nix
# uses: DeterminateSystems/nix-installer-action@v6
# with:
# extra-conf: |
# system-features = kvm
uses: cachix/install-nix-action@v22
with:
extra_nix_config: |
system-features = kvm
- uses: DeterminateSystems/magic-nix-cache-action@v2
- name: run nix-eval-jobs
run: nix run nixpkgs#nix-eval-jobs -- --gc-roots-dir gcroots --flake .#all-download-images | tee jobs.json
- name: convert jobs json
run: nix run nixpkgs#jq -- -r 'select(.system == "x86_64-linux") | .attr + " " + .drvPath + " " + .name' < jobs.json > jobs
- name: build jobs
run: |
mkdir -p results
while read -r attr drvPath name; do
nix build "$drvPath^*" --out-link "results/$attr-$name" --print-build-logs
done < jobs
- name: upload
uses: actions/upload-artifact@v3
with:
name: results
path: results