Skip to content

Commit

Permalink
ci: test nix build on push with linux & macos machines (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinnymeller authored Nov 15, 2024
1 parent 41178d3 commit abf781a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/nix-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Test Nix Build

on:
push:

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
name: Test Nix Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main

- name: Build with Nix
run: nix build .#blink-cmp

0 comments on commit abf781a

Please sign in to comment.