Adds explicit "systems" input to flake.nix #450
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ci-linux | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # install deps. | |
| - name: install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libsystemd-dev | |
| - name: Install system dependencies | |
| uses: input-output-hk/actions/base@latest | |
| - uses: haskell-actions/setup@v2 | |
| id: cabal-setup | |
| with: | |
| ghc-version: '9.6.6' | |
| cabal-version: '3.10.3.0' | |
| - uses: actions/checkout@v4 | |
| - name: Cache .cabal | |
| uses: actions/cache@v3 | |
| with: | |
| path: ${{ steps.cabal-setup.outputs.cabal-store }} | |
| key: cabal-${{ hashFiles('cabal.project') }} | |
| - name: build & test | |
| run: | | |
| cabal update | |
| cabal build -j all --enable-tests | |
| cabal test all |