mirror of
https://github.com/spacebarchat/server.git
synced 2026-07-28 01:10:57 +00:00
23 lines
712 B
YAML
23 lines
712 B
YAML
name: Nix build
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
build-nix:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: cachix/install-nix-action@v31
|
|
with:
|
|
extra_nix_config: |
|
|
system-features = nixos-test benchmark big-parallel kvm
|
|
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-bincache.rory.gay:663PIW8xxgIImxLcsokODWI2PHFWXvzJEfjX6TaIjxQ=
|
|
trusted-substituters = https://cache.nixos.org https://nix-bincache.rory.gay
|
|
|
|
- run: nix build --accept-flake-config -L -j auto
|
|
- run: nix develop --accept-flake-config --command echo OK
|
|
- run: nix flake check --accept-flake-config -vL -j auto
|