Add Github action to build and run tests with dune pkg
#2
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: test with dune pkg | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| runs-on: [ ubuntu-latest, macos-latest ] | |
| runs-on: ${{ matrix.runs-on }} | |
| steps: | |
| - name: Check out sources | |
| uses: actions/checkout@v6 | |
| - name: Install and test | |
| uses: ocaml-dune/setup-dune@v2 | |
| with: | |
| workspace: dune-workspace.ci |