Skip to content

Add macos-latest and windows-latest #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest

ocaml-compiler:
- "4.14"
- "5.1"
Expand All @@ -38,7 +41,7 @@ jobs:

- run: opam install . --deps-only --with-test

- run: opam exec -- dune build -p mlx,ocamlmerlin-mlx
- run: opam exec -- dune build -p mlx

# TODO: pass --with-dev-setup to opam instead? (requires opam 2.2, I think)
- run: opam install menhir.20201216 menhirLib.20201216 menhirSdk.20201216 ocamlformat
Expand Down
1 change: 1 addition & 0 deletions mlx/pp.ml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ let () =
if !print_ml then Format.printf "%a@." Pprintast.structure str
else
let oc = stdout in
Out_channel.set_binary_mode oc true;
output_string oc
Ppxlib_ast.Compiler_version.Ast.Config.ast_impl_magic_number;
output_value oc fname;
Expand Down