Skip to content

Add sexp_of cenum attribute, use sexplib0 #188

Add sexp_of cenum attribute, use sexplib0

Add sexp_of cenum attribute, use sexplib0 #188

Workflow file for this run

name: Cstruct
on: [push, pull_request]
jobs:
latest:
name: Latest
runs-on: ${{ matrix.operating-system }}
strategy:
fail-fast: false
matrix:
ocaml-version: [ '5', '4', '4.10.0', '4.08.1' ]
operating-system: [macos-latest, ubuntu-latest, windows-latest]
exclude:
operating-system: macos-latest

Check failure on line 13 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Cstruct

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 13, Col: 11): A mapping was not expected .github/workflows/test.yml (Line: 33, Col: 11): A mapping was not expected
ocaml-version: ['4.10.0', '4.08.1']
steps:
- uses: actions/checkout@v4
- uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-version }}
- run: opam install . --deps-only --with-test
- name: Build
run: opam exec -- dune build
- run: opam exec -- dune runtest
ppx:
name: PPX
runs-on: ${{ matrix.operating-system }}
strategy:
fail-fast: false
matrix:
ocaml-version: [ '5', '4', '4.10.0', '4.08.1' ]
operating-system: [macos-latest, ubuntu-latest, windows-latest]
exclude:
operating-system: macos-latest
ocaml-version: ['4.10.0', '4.08.1']
steps:
- uses: actions/checkout@v4
- uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-version }}
- run: opam pin add -n .
- name: Build
run: opam install -t ppx_cstruct
async:
name: Async
runs-on: ${{ matrix.operating-system }}
strategy:
fail-fast: false
matrix:
ocaml-version: [ '5', '4', '4.10.0', '4.08.1' ]
operating-system: [macos-latest, ubuntu-latest]
exclude:
operating-system: macos-latest
ocaml-version: ['4.10.0', '4.08.1']
steps:
- uses: actions/checkout@v4
- uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-version }}
- run: opam pin add -n .
- name: Dependencies
run: opam install -t cstruct-async