diff options
| author | Marcos Benevides <marcos.schonfinkel@gmail.com> | 2025-12-07 16:42:26 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-07 16:42:26 -0400 |
| commit | 0862cd7c3fe4fbb5b56a0a87c3789c8361bc022c (patch) | |
| tree | b6a5ab8230e0342713c4530416eee39774d4f240 /.github/workflows | |
| parent | 0ff53d39cdf8f823432311eb41adc34d416d9316 (diff) | |
| download | Sakura-0862cd7c3fe4fbb5b56a0a87c3789c8361bc022c.tar.gz Sakura-0862cd7c3fe4fbb5b56a0a87c3789c8361bc022c.zip | |
#37 ADD Rebar3 Release and other minor refactors (#38)
Diffstat (limited to '')
| -rw-r--r-- | .github/workflows/build.yml | 61 | ||||
| -rw-r--r-- | .github/workflows/docs.yml | 2 |
2 files changed, 62 insertions, 1 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 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 84048cf..0d3aa58 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -73,6 +73,7 @@ jobs: deploy: name: Deploy to GitHub Pages + if: github.event_name != 'pull_request' environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} @@ -82,5 +83,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - if: github.event_name != 'pull_request' uses: actions/deploy-pages@v4 |
