Rocq Pointers #1712
Workflow file for this run
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: "Build" | |
| on: | |
| pull_request: | |
| push: | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ ubuntu-latest, macos-latest ] | |
| # we need this to map platform names as used by github to | |
| # the attribute names defined in release.nix | |
| include: | |
| - os: ubuntu-latest | |
| os_attr: linux | |
| - os: macos-latest | |
| os_attr: darwin | |
| fail-fast: false | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: cachix/install-nix-action@v31 | |
| with: | |
| extra_nix_config: | | |
| experimental-features = nix-command flakes | |
| accept-flake-config = true | |
| - uses: cachix/cachix-action@v16 | |
| with: | |
| name: dapp | |
| skipPush: true | |
| signingKey: '' | |
| - name: test | |
| run: nix develop --ignore-environment --accept-flake-config --command bash -lc "cabal update && make test-ci" | |
| - name: build | |
| run: nix build -L .#act --accept-flake-config |