Switch from c2hs to hs-bindgen #136
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: Haskell CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| name: main | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: cachix/install-nix-action@v30 | |
| with: | |
| github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
| extra_nix_config: | | |
| extra-substituters = https://cache.iog.io | |
| extra-trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= | |
| - uses: cachix/cachix-action@v15 | |
| with: | |
| name: georgefst | |
| authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
| - name: Build all packages | |
| run: nix build .#ci | |
| # TODO work around test permissions and ARM build and | |
| # - name: Run checks | |
| # run: nix flake check | |
| - name: Run main test with permissions | |
| run: sudo $(nix build .#evdev:test:test --print-out-paths)/bin/test |