From 0fa4290178e3a6a4b7527f43c3d5f1926bbe8d0c Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Fri, 2 Sep 2022 21:36:27 +0300 Subject: [PATCH] Workflows: add Nix CI --- .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 0000000..87d6ed5 --- /dev/null +++ b/.github/workflows/nix-build.yaml @@ -0,0 +1,21 @@ +name: Build Hyprpicker (Nix) + +on: [push, pull_request, workflow_dispatch] +jobs: + nix: + name: "Build" + runs-on: ubuntu-latest + steps: + - name: Clone repository + uses: actions/checkout@v3 + with: + submodules: recursive + - name: Install nix + uses: cachix/install-nix-action@v17 + with: + install_url: https://releases.nixos.org/nix/nix-2.10.3/install + extra_nix_config: | + auto-optimise-store = true + experimental-features = nix-command flakes + - name: Build Hyprpicker with default settings + run: nix build --print-build-logs