chore(flake/nixpkgs): 2726f127
-> d8fe5e6c
#15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-all-packages | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
build-all-packages: | |
name: Build all packages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: easimon/maximize-build-space@v10 | |
with: | |
overprovision-lvm: true | |
remove-android: true | |
remove-codeql: true | |
remove-docker-images: true | |
remove-dotnet: true | |
remove-haskell: true | |
root-reserve-mb: 512 | |
swap-size-mb: 1024 | |
- uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v26 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable-small | |
extra_nix_config: | | |
substituters = https://cache.garnix.io https://nyx.chaotic.cx https://cache.nixos.org/ https://cache.privatevoid.net https://nixpkgs-unfree.cachix.org https://numtide.cachix.org https://dotfiles-pkgs.cachix.org | |
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g= nyx.chaotic.cx-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8= chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8= cache.privatevoid.net:SErQ8bvNWANeAvtsOESUwVYr2VJynfuc9JRwlzTTkVg= nixpkgs-unfree.cachix.org-1:hqvoInulhbV4nJ9yJOEr+4wxhDV4xq2d1DK7S6Nj6rs= numtide.cachix.org-1:2ps1kLBUWjxIneOy1Ik6cQjb41X0iXVXeHigGmycPPE= dotfiles-pkgs.cachix.org-1:0TnsAyYE0P2BXv9s7gqqCpkf2SNt4cXKPh/66enbwnk= | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Set default git branch (to reduce log spam) | |
run: git config --global init.defaultBranch main | |
- name: "Build all packages" | |
run: |- | |
nix flake show --json | jq '.packages."x86_64-linux"|keys[]'| xargs -I {} nix build .#{} |