[Action.config_lines] document and test behavior of commented lines #188
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: devkit | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| ocaml-version: | |
| - 4.14 | |
| - 5.2 | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Update apt | |
| run: sudo apt-get update | |
| - name: Set up OCaml ${{ matrix.ocaml-version }} | |
| uses: ocaml/setup-ocaml@v3 | |
| with: | |
| ocaml-compiler: ${{ matrix.ocaml-version }} | |
| dune-cache: true | |
| allow-prerelease-opam: true | |
| - name: Install OCaml deps | |
| run: opam install . --deps-only --with-test | |
| - name: Pin libevent | |
| run: opam pin add libevent --dev | |
| - name: Build | |
| run: opam exec -- dune build --profile=release | |
| - name: Test | |
| run: opam exec -- dune runtest --profile=release |