Skip to content

Commit 38ab8d0

Browse files
authored
Merge pull request #280 from pveber/use-ppxlib
use ppxlib
2 parents 00ff5aa + fe3c145 commit 38ab8d0

File tree

5 files changed

+113
-82
lines changed

5 files changed

+113
-82
lines changed

.github/workflows/test.yml

+20-2
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,27 @@ jobs:
3737
ocaml-version: ${{ matrix.ocaml-version }}
3838
- run: opam pin add -n .
3939
- name: Packages
40-
run: opam depext -yt cstruct cstruct-sexp cstruct-unix cstruct-lwt ppx_cstruct
40+
run: opam depext -yt cstruct cstruct-sexp cstruct-unix cstruct-lwt
4141
- name: Build
42-
run: opam install -t cstruct cstruct-sexp cstruct-unix cstruct-lwt ppx_cstruct
42+
run: opam install -t cstruct cstruct-sexp cstruct-unix cstruct-lwt
43+
ppx:
44+
name: PPX
45+
runs-on: ${{ matrix.operating-system }}
46+
strategy:
47+
fail-fast: false
48+
matrix:
49+
ocaml-version: [ '4.10.0', '4.08.1', '4.07.1' ]
50+
operating-system: [macos-latest, ubuntu-latest, windows-latest]
51+
steps:
52+
- uses: actions/checkout@v2
53+
- uses: avsm/setup-ocaml@v1
54+
with:
55+
ocaml-version: ${{ matrix.ocaml-version }}
56+
- run: opam pin add -n .
57+
- name: Packages
58+
run: opam depext -yt ppx_cstruct
59+
- name: Build
60+
run: opam install -t ppx_cstruct
4361
async:
4462
name: Async
4563
runs-on: ${{ matrix.operating-system }}

ppx/dune

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,5 @@
44
(kind ppx_rewriter)
55
(wrapped false)
66
(ppx_runtime_libraries cstruct stdlib-shims)
7-
(preprocess
8-
(pps ppx_tools_versioned.metaquot_411))
9-
(libraries sexplib ocaml-migrate-parsetree ppx_tools_versioned
10-
ppx_tools_versioned.metaquot_411 bigarray stdlib-shims))
7+
(preprocess (pps ppxlib.metaquot))
8+
(libraries sexplib ppxlib bigarray stdlib-shims))

0 commit comments

Comments
 (0)