diff options
| author | seth <[email protected]> | 2024-08-26 23:51:17 -0400 |
|---|---|---|
| committer | Seth Flynn <[email protected]> | 2025-03-05 04:36:03 -0500 |
| commit | b229a37e59b9720b7017e72a6d159b869ff36458 (patch) | |
| tree | 829090d2236ac707d5670c496781a4a888a0b700 /.github/workflows/ci.yaml | |
[skip ci] initial commit
Diffstat (limited to '.github/workflows/ci.yaml')
| -rw-r--r-- | .github/workflows/ci.yaml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..054e4a3 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,38 @@ +name: CI + +on: + push: + branches: [main] + paths: + - "**.nix" + - ".github/workflows/ci.yaml" + pull_request: + paths: + - "**.nix" + - ".github/workflows/ci.yaml" + workflow_dispatch: + +jobs: + build: + name: Build + + strategy: + matrix: + include: + - os: ubuntu-latest + system: x86_64-linux + + runs-on: ${{ matrix.os }} + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install Nix + uses: cachix/install-nix-action@v30 + with: + nix_path: nixpkgs=channel:nixos-unstable + + - name: Run build + run: | + nix-build release.nix -A ${{ matrix.system }} |
