Commit graph

42 commits

Author SHA1 Message Date
Martin Kinkelin
e48bc0987d Cirrus CI: Allow single remaining FreeBSD coverage job to fail (might be out of credits)
I don't think it's a big loss to make it optional, i.e., extra FreeBSD
coverage possibly not showing up near the end of the month.

(I'm a bit reluctant to move the job to GHA, as it would IMO probably
disproportionally uglify the current GHA script.)
2023-10-29 02:40:10 +01:00
Martin Kinkelin
f221cb335f CI: Move non-coverage FreeBSD Cirrus CI jobs to GitHub Actions
By running them in a qemu VM on Linux runners.
2023-10-27 14:13:57 +02:00
Martin Kinkelin
90ab114358 CI: Move non-FreeBSD Cirrus CI coverage jobs to GitHub Actions 2023-09-17 20:06:31 +02:00
Martin Kinkelin
f999f35810 CI: Move some Cirrus CI jobs to GitHub Actions 2023-09-16 15:10:46 +02:00
Iain Buclaw
2c733d8b8b ci: Workaround gdb bug in by requesting privileged container 2023-01-29 18:30:39 +01:00
Iain Buclaw
d657f21137 ci: Update CirrusCI Ubuntu images to 22.04 2023-01-29 18:30:39 +01:00
Iain Buclaw
0b35851998 ci: Update Ubuntu images to 20.04 2023-01-29 18:30:39 +01:00
Iain Buclaw
aa19d8a145 ci: Update cirrus macOS image to M1-based runners (#14772)
* druntime/test: Force makefile to x86 on Apple ARM cpu (dmd does not support ARM)

* ci: Update cirrus macOS image to M1-based runners

* compiler/test/Makefile: Workaround issue 23517
2023-01-03 01:23:03 +02:00
Iain Buclaw
7cef3b9f3c cirrus: Only run bootstrap pipeline on 11.x 2022-09-11 00:45:45 +02:00
Iain Buclaw
09d04945bd Fix build script paths to work with new merged repository structure
Co-Authored-By: Geod24 <pro.mathias.lang@gmail.com>
Co-Authored-By: Martin Kinkelin <noone@nowhere.com>
Co-Authored-By: Vladimir Panteleev <git@cy.md>
2022-07-09 23:49:27 +02:00
Iain Buclaw
c63a8be0aa cirrus.yml: Bump FreeBSD images to version 12.3 and 13.0 2022-05-09 13:54:58 +00:00
Iain Buclaw
6636fbcb5f cirrus.yml: Use an alternative mirror for FreeBSD 11 2022-05-05 17:21:14 +00:00
MoonlightSentinel
48db76398c
Merge remote-tracking branch 'upstream/stable' into merge_stable 2022-03-27 03:55:23 +02:00
MoonlightSentinel
25b8666e69 CirrusCI: Temporarily use ldc instead of dmd for MacOs >= 12
DMD releases cannot compile for XCode >= 13.3 because of issue 22942.
2022-03-27 01:47:37 +01:00
Luís Ferreira
a7dc8f487b
ci: move ci.sh and cirrusci.sh script to ci/ folder
Signed-off-by: Luís Ferreira <contact@lsferreira.net>
2022-02-20 23:20:01 +00:00
Luís Ferreira
080f8f68ae
ci: make Cirrus CI configuration YAML compliant (#13480)
Signed-off-by: Luís Ferreira <contact@lsferreira.net>
2021-12-31 13:31:33 +00:00
Max Haughton
93108bb9ea
Workaround for platforms lacking crt_destructor (#13364)
Workaround for platforms lacking crt_destructor

Signed-off-by: Iain Buclaw <ibuclaw@users.noreply.github.com>
Signed-off-by: Razvan Nitu <RazvanN7@users.noreply.github.com>
Merged-on-behalf-of: Razvan Nitu <RazvanN7@users.noreply.github.com>
2021-12-15 12:26:45 +00:00
Iain Buclaw
65dd51ca0f cirrus: Switch to big-sur image, use catalina for bootstrap only 2021-11-08 13:58:38 +01:00
Iain Buclaw
037dde33d3 Cirrus CI: Bump FreeBSD version to 12.2 2021-08-17 21:39:17 +02:00
Martin Nowak
ac47aeeeea Merge remote-tracking branch 'upstream/stable' into merge_stable 2021-08-09 22:39:23 +02:00
Iain Buclaw
323b8867e1 CirrusCI: Bump Ubuntu image to 18.04 2021-08-07 06:39:25 +00:00
Mathias LANG
a81e1ddfb6
Merge pull request #12948 from dlang/stable
Merge stable into master to get CirrusCI fix
2021-08-03 12:21:18 +09:00
Geod24
e31759db72 CirrusCI: Use ldc-1.26.0 on Ubuntu 16
As explained by the comment, we're seeing issues on 16.04 with newer LDC.
2021-08-03 11:31:02 +09:00
Martin Kinkelin
5ebfb077c6
Fix Issues 22149 & 22150 - TypeInfo names aren't unique, leading to botched equality semantics (#12928)
* Fix Issue 22149 - TypeInfo_Struct names aren't unique, leading to botched equality semantics

By storing the mangled name, making the TypeInfo_Struct names truly
unique and more compact at the same time.
Requires https://github.com/dlang/druntime/pull/3527.

* Fix Issue 22150 - TypeInfo_Class names aren't unique, leading to botched equality semantics

By fully qualifying template arguments.

* [temp] Cirrus CI: Use same-named druntime branch

* Azure Pipelines: Try to use same-named druntime/Phobos branches for PRs originating from the official dlang repo

* Cirrus CI: Try to use same-named druntime/Phobos branches for PRs originating from the official dlang repo
2021-08-01 20:04:25 +08:00
Florian
5d2ad86146 CirrusCi: merge pull requests with target branch (#12667)
Co-authored-by: Sebastian Wilzbach <seb@wilzba.ch>
2021-06-27 14:43:51 +00:00
Florian
a990f19038
CirrusCi: merge pull requests with target branch (#12667)
Co-authored-by: Sebastian Wilzbach <seb@wilzba.ch>
2021-06-11 19:48:24 +08:00
MoonlightSentinel
8be4cf8ac4 Update CodeCov token on Cirrus 2021-04-16 21:21:37 +09:00
MoonlightSentinel
5528010252 Update CodeCov token on Cirrus 2021-04-16 14:21:09 +02:00
Martin Kinkelin
974a532635 Cirrus CI Mac: Exploit all 12 newly available CPU cores
They recently tripled (!) the available CPU cores:
https://medium.com/cirruslabs/new-macos-task-execution-architecture-for-cirrus-ci-604250627c94
2021-02-08 08:44:28 +01:00
Florian
ebbce33f98
Issue 21519 - Generate coverage reports on CirrusCI (#12120)
This adds coverage reports for several missing targets:
- Linux 32 (64 is already generated on CircleCI)
- MacOS 64
- FreeBSD 64
2021-01-15 16:11:11 +08:00
Geod24
2bc660a7f4 {ci,cirrusci}.sh: Use HOST_DMD, and set HOST_DC as an override
This will allow to silence some deprecation message triggered in the Makefiles.
Later on, when other repositories have been migrated, we can remove support for HOST_DC.
2020-12-08 12:31:24 +01:00
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