aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/nix.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml
index 71efe06..45a2348 100644
--- a/.github/workflows/nix.yml
+++ b/.github/workflows/nix.yml
@@ -50,3 +50,32 @@ jobs:
- name: List library
run: nix run ".?submodules=1#${{ matrix.library }}.default" -- list-libs
+
+ reader:
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read
+
+ name: Build reader
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ submodules: recursive
+ fetch-tags: true
+ fetch-depth: -1
+
+ - uses: DeterminateSystems/nix-installer-action@v13
+ with:
+ diagnostic-endpoint: ""
+
+ - uses: DeterminateSystems/magic-nix-cache-action@v7
+ with:
+ diagnostic-endpoint: ""
+
+ - name: Build reader
+ run: |
+ nix build ".?submodules=1#reader"
+
+ - name: Show reader --help
+ run: |
+ nix build ".?submodules=1#reader" -- --help