aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorMarcos Benevides <marcos.schonfinkel@gmail.com>2025-12-07 16:42:26 -0400
committerGitHub <noreply@github.com>2025-12-07 16:42:26 -0400
commit0862cd7c3fe4fbb5b56a0a87c3789c8361bc022c (patch)
treeb6a5ab8230e0342713c4530416eee39774d4f240 /.github/workflows/build.yml
parent0ff53d39cdf8f823432311eb41adc34d416d9316 (diff)
downloadSakura-0862cd7c3fe4fbb5b56a0a87c3789c8361bc022c.tar.gz
Sakura-0862cd7c3fe4fbb5b56a0a87c3789c8361bc022c.zip
#37 ADD Rebar3 Release and other minor refactors (#38)
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml61
1 files changed, 61 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..5754292
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,61 @@
+name: "[Domino] Build"
+
+on:
+ push:
+ branches: [ "master" ]
+ paths:
+ - .github/workflows/**
+ - config/**
+ - docs/**
+ - include/**
+ - test/**
+ - src/**
+ - flake.nix
+ - flake.lock
+ - rebar.config
+ - rebar-deps.nix
+ - rebar.lock
+
+ pull_request:
+ branches: [ "master" ]
+ paths:
+ - .github/workflows/**
+ - config/**
+ - docs/**
+ - include/**
+ - test/**
+ - src/**
+ - flake.nix
+ - flake.lock
+ - rebar.config
+ - rebar-deps.nix
+ - rebar.lock
+
+permissions:
+ contents: read
+
+jobs:
+ build:
+ name: "[Domino] Nix Build"
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v6
+ with:
+ lfs: true
+
+ - name: Install Nix
+ uses: cachix/install-nix-action@v31
+ with:
+ # Mostly to avoid GitHub rate limiting
+ extra_nix_config: |
+ access-tokens = github.com=${{ github.token }}
+
+ - name: Install Nix Cache
+ uses: DeterminateSystems/magic-nix-cache-action@main
+
+ # Actual Pipelines
+ - name: "Build"
+ run: |
+ nix build