From 2d6c460afc077506182a569681a10708b7c96b06 Mon Sep 17 00:00:00 2001 From: Slendi Date: Sat, 28 Mar 2026 02:38:53 +0200 Subject: [PATCH] Add CI Signed-off-by: Slendi --- .github/workflows/build.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..956314e --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +name: Build project + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build: + name: Build + runs-on: ubuntu-latest + permissions: + id-token: write + contents: read + steps: + - name: git checkout + uses: actions/checkout@v3 + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@main + - name: Building default package + run: nix build .#default --print-build-logs + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + name: result + path: result