Commit graph

11 commits

Author SHA1 Message Date
Iain Buclaw
646d83480f dmd.mars: Add method to predefine FreeBSD_12 at compile-time.
This allows to statically set which version of FreeBSD to compile for
using DFLAGS, choices are FreeBSD 10, 11 or 12. If unset, the default is
to use the same version as the host, or fallback to version 11 if
compiling on a different host, or using an old D compiler to build DMD.

To be decided is whether there should be a dynamic way of detecting the
FreeBSD OS version as well, such as by using getosreldate().
2020-11-20 00:36:08 +01:00
Martin Kinkelin
ac598b9b60 ci.sh: Rename install_d to install_host_compiler and add some more comments 2020-10-15 14:16:34 +02:00
Martin Kinkelin
88a9f59748 ci.sh: Consolidate DMD & D_VERSION to HOST_DC
HOST_DC is more self-descriptive I think; DMD & D_VERSION are rather
misleading for D host compiler and its version.

Also get rid of the `install_d` arg and use HOST_DC directly.
2020-10-14 17:50:58 +02:00
Martin Kinkelin
bd6f181f4d ci.sh: Replace BRANCH env variable by explicit setup_repos command arg 2020-10-14 15:06:32 +02:00
Martin Kinkelin
872c77e7a6 ci.sh: Refactor GDC special case 2020-10-14 14:23:00 +02:00
Martin Kinkelin
ddfb4fbcd7 Cirrus CI: Extract prerequisites installation to cirrusci.sh
As preparation for druntime/Phobos CI, so that they can use this file
too instead of having to duplicate these steps in their .cirrus.yml.
2020-10-14 14:20:55 +02:00
Martin Kinkelin
0be663512e Make ci.sh accept a command
In order not to have to `source` it multiple times, leading to ugly
clutter in CI logs.
2020-10-13 18:33:17 +02:00
Sebastian Wilzbach
5583c090cc CirrusCI: add bootstrap builds with 2.079.0 2020-09-03 19:45:23 +02:00
Sebastian Wilzbach
a0c2808b15 CirrusCI: always run with FULL_BUILD=true 2020-09-03 19:35:20 +02:00
Martin Kinkelin
b10a896afa [Cirrus CI]: Reduce YAML redundancy 2020-09-03 17:17:36 +02:00
Martin Kinkelin
581f575145 Add Cirrus CI with Linux, Mac and FreeBSD
Based on infrastructure in ci.sh (also used by Semaphore CI), but
breaking up the testsuite into separate steps; I find that much better.
Also testing all 3 host compilers - DMD, LDC and GDC.

Unlike Semaphore, it doesn't rebuild itself and skips the dub package
test (not sure what that is).

A 32-bit FreeBSD job might be a worthwhile addition for the future.
2020-09-03 04:03:55 +02:00