.github/workflows/test.yaml
raw| 1 | name: Test |
| 2 | on: |
| 3 | push: |
| 4 | branches: ["master"] |
| 5 | pull_request: |
| 6 | types: |
| 7 | - opened |
| 8 | - edited |
| 9 | workflow_dispatch: |
| 10 | jobs: |
| 11 | test: |
| 12 | runs-on: ubuntu-latest |
| 13 | steps: |
| 14 | - uses: actions/checkout@v4 |
| 15 | - uses: cachix/install-nix-action@v25 |
| 16 | with: |
| 17 | nix_path: nixpkgs=channel:nixos-unstable |
| 18 | - run: nix --extra-experimental-features 'nix-command flakes' develop nixpkgs#celluloid --command bash -c 'meson setup build && ninja -C build test' |