2022-01-18 11:56:32 +01:00
|
|
|
name: "Populate Cachix binary cache"
|
2021-08-19 23:36:35 +02:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
2022-01-18 11:56:32 +01:00
|
|
|
- '**.nix'
|
|
|
|
- '**.age'
|
2021-08-19 23:36:35 +02:00
|
|
|
- 'pkgs/**'
|
|
|
|
- 'flake.nix'
|
|
|
|
- 'flake.lock'
|
2021-11-02 16:24:26 +01:00
|
|
|
- '.github/workflows/*'
|
2021-08-19 23:36:35 +02:00
|
|
|
jobs:
|
2022-01-18 11:56:32 +01:00
|
|
|
build-pkgs:
|
2022-01-21 00:41:24 +01:00
|
|
|
name: Nix packages
|
2021-08-19 23:36:35 +02:00
|
|
|
runs-on: ubuntu-latest
|
2022-01-11 11:56:30 +01:00
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
name:
|
|
|
|
- emacsPgtkGcc
|
|
|
|
- grafanaDashboards/nginx
|
|
|
|
- grafanaDashboards/node-exporter
|
|
|
|
- kaleidoscope-udev-rules
|
|
|
|
- sddm-sugar-candy
|
|
|
|
- spot
|
|
|
|
|
2021-08-19 23:36:35 +02:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2022-01-11 11:56:30 +01:00
|
|
|
|
2021-12-27 15:51:54 +01:00
|
|
|
- uses: cachix/install-nix-action@v16
|
2022-01-11 11:56:30 +01:00
|
|
|
|
2021-08-19 23:36:35 +02:00
|
|
|
- uses: cachix/cachix-action@v10
|
|
|
|
with:
|
|
|
|
name: alarsyo
|
|
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
2022-01-11 13:47:36 +01:00
|
|
|
extraPullNames: "nix-community"
|
2022-01-11 11:56:30 +01:00
|
|
|
|
|
|
|
- name: Build package
|
|
|
|
run: nix build --verbose -L .#"${{ matrix.name }}"
|
2022-01-18 11:56:32 +01:00
|
|
|
|
|
|
|
build-configs:
|
2022-01-21 00:41:24 +01:00
|
|
|
name: NixOS configs
|
2022-01-18 11:56:32 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: [ build-pkgs ]
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
name:
|
2022-01-21 00:29:44 +01:00
|
|
|
- boreal
|
2022-01-18 11:56:32 +01:00
|
|
|
- zephyrus
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- uses: cachix/install-nix-action@v16
|
|
|
|
|
|
|
|
- uses: cachix/cachix-action@v10
|
|
|
|
with:
|
|
|
|
name: alarsyo
|
|
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
|
|
|
extraPullNames: "nix-community"
|
|
|
|
|
|
|
|
- name: Build package
|
|
|
|
run: nix build --verbose -L .#nixosConfigurations."${{ matrix.name }}".config.system.build.toplevel
|