aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2026-06-22 22:55:27 -0300
committerGitHub <noreply@github.com>2026-06-22 22:55:27 -0300
commitb81586ee4a0543a5f9866586c78dccdd6328934a (patch)
tree4cd2f26e8e57e7e8d852fb7deddd0818c482dc8b /.github/workflows
parent57b55b51ee6a1d4678ba37e4631d61a248411ff2 (diff)
downloadSakura-b81586ee4a0543a5f9866586c78dccdd6328934a.tar.gz
Sakura-b81586ee4a0543a5f9866586c78dccdd6328934a.zip
RNT ephemeral relations representation
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml50
1 files changed, 50 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..037dd01
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,50 @@
+name: CI
+
+on:
+ push:
+ branches: [master]
+ pull_request:
+
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
+jobs:
+ build:
+ name: Build
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: DeterminateSystems/nix-installer-action@main
+ with:
+ extra-conf: |
+ access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
+ - uses: DeterminateSystems/magic-nix-cache-action@main
+ - name: Build the package
+ run: nix build .#relational_engine -L
+
+ test:
+ name: Test
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: DeterminateSystems/nix-installer-action@main
+ with:
+ extra-conf: |
+ access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
+ - uses: DeterminateSystems/magic-nix-cache-action@main
+ - name: Run the test suite
+ run: nix build .#checks.x86_64-linux.relational_engine -L
+
+ format:
+ name: OCaml formatting
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: DeterminateSystems/nix-installer-action@main
+ with:
+ extra-conf: |
+ access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
+ - uses: DeterminateSystems/magic-nix-cache-action@main
+ - name: Check dune/ocamlformat formatting
+ run: nix build .#checks.x86_64-linux.dune-fmt -L