Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
Update build.yml
  • Loading branch information
mksafavi committed Jul 6, 2024
1 parent dc23b66 commit f7a6753
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Nixos

on:
pull_request:
push:

jobs:
build:
strategy:
matrix:
machine: ["t1000", "t800"]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4.1.7
- name: "Install Nix"
- uses: cachix/install-nix-action@v27

- name: "Build Nix Config"
- run: |
nix build .#nixosConfigurations.${{ matrix.machine }}.config.system.build.toplevel

0 comments on commit f7a6753

Please sign in to comment.