feat: Add Nix CI workflow

Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
This commit is contained in:
Dom Rodriguez 2024-11-16 22:28:23 +00:00
parent ca29ce7705
commit c2c3d2417e
No known key found for this signature in database
GPG Key ID: 72DCF1231E54BD43

View File

@ -2,6 +2,22 @@ name: Build
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
check-nix-flake:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
- name: Check Nix Flake
run: nix flake check --print-build-logs
check-nix-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
- name: Build package
run: nix build --print-build-logs
build-windows: build-windows:
runs-on: windows-2022 runs-on: windows-2022
defaults: defaults: