* Switch compiler builds and tests to GitHub actions
* Expose ${cc} in ocamltest
* Allow lib-bigarray-2/bigarrfml.ml to run on 32-bit
* Simplify environment variables passed to scripts
* Reduce matrix to 3 builds
* Move minimum build into Jenkins other-configs
Relative paths are needed in ocamltest (rather than plain executable
file names), because else 'execvp' searches for the executable in the
PATH instead of the current directory.
Call the C preprocessor through the C compiler rather than calling it
directly.
This required the definition of a new ocamltest variable,
ocaml_filetype_flag, which makes it possible to override the filetype
inferred by the compiler from the extnesion of the source file.
If the toplevel doesn't support shared libraries, skip any toplevel
tests which will load cma files which have C stubs (e.g. unix.cma). The
present implementation is suboptimal - really, it would be better to
create a custom toplevel, but it only affects one test at the moment.
ocamltest links bytecode executables in custom-runtime mode if they have
C files, but it should also do this for any .cma files which require C
stubs on platforms which don't support dynamic C libraries.
- inline Pervasives in Stdlib and re-add Pervasives as a deprecated
module that aliases all elements of Stdlib except the stdlib modules.
- remove special case for Stdlib.Pervasives in printtyp.ml
This commit introduces the ocamlrun, ocamlc_byte and ocamlopt_byte variable.
They contain the paths to the corresponding executable files.
For ocamlrun, the selected runtime-variant is taken into account.
This commit adds:
- The csharp-compiler test that passes when the compiler is available
- The csc and csc_flags variables to invoke the compiler from tests
For most of the toplevel tests the test file is provided as
the standard input of the toplevel. For a few toplevel tests, though,
the name of the test file is passed to the toplevel on the command-line.
This commit introduces the ocaml_script_as_argument variable to let
each test specify how the test file should be passed to the toplevel.
By default, the standard input of the toplevel is redirected to the test file.