Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cduce
cduce
Commits
878cc159
Commit
878cc159
authored
Apr 07, 2021
by
Kim Nguyễn
Browse files
Tentative multistage yaml config file.
Remove spurious code with 'Printexc.backtrace'
parent
2fdd3bda
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
878cc159
default
:
image
:
docker-cduce:latest
before_script
:
-
echo "$USER"
-
eval `opam config env`
-
echo "$PATH"
-
opam update -y
-
opam upgrade -y
build-test
:
stages
:
-
compile
-
test
-
package
.compile_template
:
&compile_template
script
:
-
dune build @binary
.test_template
:
&test_template
script
:
-
dune build @runtest
.package_template
:
&package_template
script
:
-
sh tools/init_opam_switch.sh
-
dune build -j 4
-
opam pin -y cduce-types .
-
opam pin -y cduce .
compile:4.07.1:
image:ocaml-cduce:compile
<<
:
*4
.07.1_template
compile:4.08.1:
image:ocaml-cduce:compile
<<
:
*4
.08.1_template
compile:4.09.1:
image:ocaml-cduce:compile
<<
:
*4
.09.1_template
compile:4.10.2:
image:ocaml-cduce:compile
<<
:
*4
.10.2_template
compile:4.11.2:
image:ocaml-cduce:compile
<<
:
*4
.11.2_template
compile:4.12.0:
image:ocaml-cduce:compile
<<
:
*4
.12.0_template
test:4.07.1:
image:ocaml-cduce:test
<<
:
*4
.07.1_template
test:4.08.1:
image:ocaml-cduce:test
<<
:
*4
.08.1_template
test:4.09.1:
image:ocaml-cduce:test
<<
:
*4
.09.1_template
test:4.10.2:
image:ocaml-cduce:test
<<
:
*4
.10.2_template
test:4.11.2:
image:ocaml-cduce:test
<<
:
*4
.11.2_template
test:4.12.0:
image:ocaml-cduce:test
<<
:
*4
.12.0_template
package:4.07.1:
image:ocaml-cduce:package
<<
:
*4
.07.1_template
package:4.08.1:
image:ocaml-cduce:package
<<
:
*4
.08.1_template
package:4.09.1:
image:ocaml-cduce:package
<<
:
*4
.09.1_template
package:4.10.2:
image:ocaml-cduce:package
<<
:
*4
.10.2_template
package:4.11.2:
image:ocaml-cduce:package
<<
:
*4
.11.2_template
package:4.12.0:
image:ocaml-cduce:package
<<
:
*4
.12.0_template
dune
View file @
878cc159
...
...
@@ -39,3 +39,8 @@
(target cduce_lib_js.ml)
(action
(write-file %{target} "include Cduce_core\ninclude Cduce_jsoo_backend")))
(rule
(alias binary)
(deps driver/cduce.exe driver/cduce_js_top.bc.js)
(action (echo "")))
\ No newline at end of file
ocamliface/mlcompat_411_12.ml
View file @
878cc159
(* Compatibilty for OCaml 4.11 & 4.12 *)
open
Cduce_core
let
()
=
Printexc
.
record_backtrace
true
let
longident_parse
s
=
let
open
Ocaml_common
in
let
rec
loop
first
s
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment