Commit Graph

29 Commits (master)

Author SHA1 Message Date
David Allsopp f6279a64b5
Switch the compiler CI builds from Travis to GitHub actions (#10036)
* 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
2020-11-24 14:16:31 +01:00
Gabriel Scherer cdccc0b1cb add a new Travis CI check that 'make alldepend' is a no-op 2020-05-01 22:23:28 +01:00
David Allsopp fb375c5c42 Reformat .travis.yml env blocks 2020-02-26 11:21:02 +00:00
David Allsopp ac2a9dd188 Cease committing C dependendency information
When building for the first time, the only requirement is that generated
header files have been built (jumptbl.h, version.h and opnames.h).
Detailed dependency information is only required when headers have been
edited.

COMPUTE_DEPS in Makefile.config controls whether C dependency
information should be generated on a per-file basis. This variable is
controlled by a new --disable-dependency-generation in configure which
is enabled for Git checkouts and disabled for tarballs (i.e. releases).

The Microsoft C compiler (cl) cannot generate dependencies in a
consistent way which we can consume, so for a Git checkout configure
searches for an additional C compiler in order to compute dependencies.
This is obviously not required for a user-build.

As a result, the MSVC port can now safely run make alldepend, since only
OCaml dependency information is committed to the repo after this change.

CI does not need to waste time testing the dependency information,
because it only tests a single build. A single Travis job has been added
which tests the build system code to generate the dependency information
(and provides a single `make -j` run in CI, although Inria's CI also
tests parallel building continuously).
2020-04-17 14:11:22 +01:00
David Allsopp c6048eb406 Switch Travis testing from Xenial to Bionic 2020-04-23 15:58:36 +01:00
YOSHIMURA Yuu 49d0580093
Remove sudo:false in .travis.yml (#9402) 2020-03-28 17:15:48 +00:00
David Allsopp 2d717cb71a Add --disable-stdlib-manpages to configure 2019-09-27 17:13:24 +01:00
David Allsopp 91c3ca831c Test all ocamldoc generators in the CI
Build all the formats of the standard library documentation.
2019-07-27 23:11:59 +01:00
David Allsopp 32df16fd7f Test non-shared platform and minimal build 2019-07-18 20:27:39 +01:00
David Allsopp e33cdc1c0c Prioritise flambda test
It's the slowest, so ensure Travis starts it first.
2019-07-18 20:08:06 +01:00
zapashcanon 6375461686 Improve shell scripts (#1690) 2019-06-19 16:15:02 +02:00
David Allsopp c4d35fc2cd Switch Travis to Xenial 2019-04-02 16:35:36 +01:00
David Allsopp 02d30e665e Stop running a check which noone looks at! 2019-03-20 09:45:37 +00:00
Sébastien Hinderer cc3f70b705 Use autoconf to generate the compiler's configuration script 2018-12-21 16:02:47 +01:00
David Allsopp 8ac6fab4a8 Tweak Travis script invocation
Display TRAVIS_COMMIT information and move the set -x into the script
(after the echoing of status variables).
2018-07-04 09:54:04 +01:00
David Allsopp 54402920b7 Run tools/check-typo in Travis CI 2018-06-30 16:43:34 +01:00
Sébastien Hinderer 8ab50ec1e3 Move the CI-related scripts to dedicated directories 2018-05-24 09:18:56 +02:00
Florian Angeletti bff7b13a15
CI: all standard libraries modules should be linked in stdlib.etex (#1708) 2018-05-21 15:11:40 +02:00
Sébastien Hinderer 14c65bcffc Let Travis send email notifications for build statuses (#1312) 2017-09-15 14:33:38 +01:00
David Allsopp 82b3cdc6ee Restore 32bit compilation (#1295) 2017-08-29 10:42:23 +01:00
David Allsopp 563ae284a4 Ensure testsuite works with OCAMLRUNPARAM=b
Ensure that tests which analyse exception messages explicitly disable
backtrace printing.
2017-06-16 11:18:49 +02:00
David Allsopp 9a41531f27 Add BFD library to Travis builds 2017-03-22 10:11:48 +00:00
Gabriel Scherer 514ebf0ea8 makes the CI test for a Changes entry non-optional
Travis CI (Continuous Integration) tests provide feedback to people
contributing patches and pull requests. There has long been a test
checking that the Changes file is modified by the PR (along with
a test checking that the testsuite is modified), but it was marked
optional (`allow_failures`) and not reported in a clear way at all.

(In theory all user-visible or contributor-visible changes should get
a Changes entry. There are some cases of minor changes, or changes
that affect features not present in a released version, where not
having a dedicated changelog entry is ok.)

There are two cases where forgetting to include something in the
Changes has been problematic:
- inline records were originally not part of the 4.03 Changelog
  (we caught the error as I gave a talk on new 4.03 features and
  Alain gently asked why I left inline records out of the discussion)
- recently GPR #674 was forgotten from the Changelog

If we make the Change mandatory in the CI, it is because without it
there is no clear notification than it fails. It does not mean that
having a Changelog entry is now mandatory, and it's just fine to keep
deciding on a case-by-case basis not to have an entry. It's just that
we would make that choice voluntarily, instead of out of distraction.
2016-11-12 09:18:49 -05:00
Damien Doligez 5401ce8473 Update headers for the new license.
Remains to be done: remove all headers in testsuite/tests.
2016-02-18 16:59:16 +01:00
Pierre Chambart 7b2268810f Travis also test flambda 2016-01-28 15:46:50 +01:00
David Allsopp a7b6083be3 Add FlexDLL as git submodule
Messages for obtaining flexdll sources updated in Makefile.nt
2016-01-15 17:07:01 +00:00
Thomas Gazagnaire 1d2e0cfb59 CI: use container-based infrastructure and add CHANGE and TEST optional checks
The optional checks have been written by @gasche
2015-11-27 17:44:04 +00:00
Damien Doligez b860d63145 whitespace cleanup, cut long lines, add some missing headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16415 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-09-11 11:58:31 +00:00
Mark Shinwell f8df3c9aed add travis CI files (github.com/avsm/ocaml 22e0620)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14718 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-05-01 10:30:21 +00:00