From abf781aa99465c7d2dc7713766ad3cd4e50c848a Mon Sep 17 00:00:00 2001 From: Vinny Meller Date: Thu, 14 Nov 2024 23:30:15 -0500 Subject: [PATCH] ci: test nix build on push with linux & macos machines (#332) --- .github/workflows/nix-build.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/nix-build.yaml diff --git a/.github/workflows/nix-build.yaml b/.github/workflows/nix-build.yaml new file mode 100644 index 00000000..4b36941a --- /dev/null +++ b/.github/workflows/nix-build.yaml @@ -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