Commit graph

86 commits

Author SHA1 Message Date
Elias Batek
3ad50a0b08
Bump Ubuntu to 22.04 for GHA workflow runnable_cxx (#21286) 2025-04-22 07:18:07 +08:00
Martin Kinkelin
130e6aa1d4
GHA main: Add Alpine Linux job, to CI-test musl libc (#20741)
* GHA main: Add Alpine Linux job, to CI-test musl libc

Incl. some test fixes.

* [refactor common isDlcoseNoop logic and prepare for Darwin support]
2025-01-28 00:28:20 +01:00
Dennis
080a4d840f
Allow failure on FreeBSD jobs (#20752) 2025-01-22 05:02:45 +08:00
Martin Kinkelin
72b2fbe64a Merge remote-tracking branch 'origin/stable' into merge_stable
Conflicts:
	compiler/src/build.d
	compiler/src/dmd/dcast.d
	compiler/src/dmd/dtemplate.d
	compiler/src/dmd/expressionsem.d
2024-11-16 16:09:17 +01:00
Martin Kinkelin
3aaf7bf222
GitHub Actions: Bump macos-12 jobs to macos-13 (#17063)
As the macos-12 image will be 'fully unsupported' starting with December 3rd:
https://github.com/actions/runner-images/issues/10721
2024-11-14 03:46:12 +01:00
Martin Kinkelin
dbba866c71
macOS CI: Upgrade GNU make in ci/cirrusci.sh (#17034)
This should fix Phobos CI, which expects such prerequisites provisioning
to happen in DMD's ci/cirrusci.sh. Because this YAML addition hasn't been
duplicated in Phobos, Phobos CI is still using the default make on macOS,
which is too old and doesn't support the newly required `private` modifier.
2024-10-27 14:27:05 +01:00
Andrei Horodniceanu
676bda7645 .github/workflows/pre_commit.yml: Specify python version to install
This should fix CI failing during the pre-commit action.

Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
2024-09-27 14:11:11 +08:00
Andrei Horodniceanu
573e81fe3f .github/workflows/main.yml: install a recent GNU make on macos
Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
2024-09-21 13:32:13 +08:00
Martin Kinkelin
addb3a3c6c CI: Extend dub tests by dmd:frontend library build 2024-07-28 09:01:09 +08:00
Mathias LANG
1d8f290318
Upgrade some deprecated GitHub actions (#16607)
The UI complains about them being on Node 16.
2024-06-22 12:24:46 +08:00
Mathias Lang
9fd775b37c CI: Use macOS-12 instead of macOS-11
macOS-11 is going to be removed at the end of the month and undergoing brownouts.
We want to migrate away from it as fast as possible, but we only upgrade to macOS-12.
2024-06-22 04:03:12 +02:00
Martin Kinkelin
86b71a29ed
CI: Add self-compile step to GHA main jobs (#16586)
This test making sure that DMD can successfully build itself got lost
when disabling/commenting-out the coverage jobs.
2024-06-16 16:50:58 +08:00
Tim Schendekehl
516b9e6add
Fix bugzilla 24600 - DMD nightly builds are outdated (#16580)
The artifact names have been changed in
a842215122,
because version 4 of actions/upload-artifact needs unique names.
Also use version 4 of actions/download-artifact and use a pattern instead of a single name.

See also https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md
2024-06-11 21:14:06 +02:00
Iain Buclaw
4ea14d4dc6 GHA: Add workflow for testing bootstrap with every release from D 2.076.1 2024-06-01 12:56:14 +08:00
Johan Engelen
afc38e9dca
Make distinction between CC and CXX in the testsuite. (#16434)
Clang makes a distinction between clang and clang++. In particular, clang++ will give a warning when it is passed `.c` source files; and the extra output warning text means that dmd testsuite output checking fails. The warning can be silenced (-Wno-deprecated) but then other tests will fail because `#ifdef __cplusplus` will be true, leading to header file import issues.
2024-05-03 07:30:55 +08:00
Adam Wilson
4414c2aeaa
Exclude MSVC-* on Ubuntu (#16423)
Removes the Ubuntu/MSVC builds from the GitHub Actions as MSVC is obviously not supported on Ubuntu but it still runs the tests. This should reduce the CI resources and failure modes.
2024-04-29 11:37:27 +08:00
Dennis Korpel
33c32407c0 Merge branch 'stable' into merge-stable 2024-04-23 14:44:01 +02:00
Dennis
111ae7308b
Bugzilla issue 24518 - disable GH action coverage checks (#16404) 2024-04-23 09:17:57 +02:00
Martin Kinkelin
5d4f4e11b4 GHA Windows: Make sure building compiler/druntime/Phobos does NOT need an MSVC env anymore
After #16248.
2024-03-04 10:52:02 +08:00
Martin Kinkelin
7dd1cc5c7f GHA: Revert to DMD host compiler for macOS-13 jobs 2024-03-02 04:01:08 +01:00
Iain Buclaw
53cd4b7c30 Merge remote-tracking branch 'upstream/stable' into merge_stable 2024-03-01 23:11:59 +00:00
Iain Buclaw
65db10cf92 Fix Bugzilla 24407 - OSX: ld: Assertion failed: (slot < _sideTableBuffer.size()), function addAtom 2024-02-24 16:24:49 +08:00
Martin Kinkelin
65b6c2b62d GHA: Set N parallelism dynamically
To adapt automatically to the number of available CPU cores.
2024-02-21 07:43:35 +01:00
Martin Kinkelin
85b807cd2d GHA: Switch to old Xcode as workaround for macOS-13 jobs 2024-02-21 00:52:41 +01:00
Iain Buclaw
20385aba10 gha: Update cross-platform-actions to v0.23.0 2024-02-19 13:31:07 +01:00
Iain Buclaw
2e1e544ac2 Merge remote-tracking branch 'upstream/stable' into merge_stable 2024-02-16 21:07:20 +00:00
Iain Buclaw
3d2892be7c gha: Ignore macOS 13 if linker is broken on the runner 2024-02-16 15:48:43 +01:00
Dennis
cca753abdb Change 'uses' versions
Co-authored-by: Mathias LANG <geod24@gmail.com>
2024-02-02 20:52:10 +01:00
dkorpel
edbc819e06 Add building dmd with dub 2024-02-02 20:52:10 +01:00
Martin Kinkelin
b20a5f134d
GHA: Use all 4 new CPU cores on non-Mac runners (#16070)
see https://github.blog/2024-01-17-github-hosted-runners-double-the-power-for-open-source/
2024-01-22 15:05:43 +02:00
Iain Buclaw
21a3756713 main.yml: Bump FreeBSD bootstrap to 13.2 2024-01-01 23:16:03 +01:00
Martin Kinkelin
9c97cdf29d GHA Main: Switch Windows x86 job to latest DMD host compiler
For some extra test coverage.
2023-12-23 17:05:05 +08:00
Martin Kinkelin
b4aea9f670 GHA: Add Windows jobs to main workflow 2023-12-23 17:05:05 +08:00
Martin Kinkelin
f3f89ca5b6 CI: Adapt to generic Makefile for Phobos 2023-12-18 17:10:31 +08:00
Martin Kinkelin
49b71b95b9 GitHub Actions: Fix up C++ interop tests job on Windows 2023-12-18 07:29:32 +08:00
Martin Kinkelin
bc793e59e9 druntime: Rename posix.mak to Makefile 2023-12-18 07:29:32 +08:00
Martin Kinkelin
ed22f5c28f
ci/run.sh: Avoid deprecated Makefiles (#15832)
* ci/run.sh: Avoid deprecated Makefiles

* ci/run.sh: Streamline OS_NAME from `darwin` to `osx` on macOS

As DMD uses `osx` as OS in most other places, including the
`generated/osx/release/64` output dir, which is currently wrong
in run.sh's `build_path` and leads to CI failures on macOS.

* GHA: Disable `-debug` for DMD unittests with old host compilers

* GHA: Work around linker errors with -g on macOS 13

See https://issues.dlang.org/show_bug.cgi?id=23517.

compiler/src/posix.mak sets it to 10.9, compiler/test/Makefile to 11.
2023-11-22 11:41:16 +02:00
Martin Kinkelin
cae656cb89
GHA: Bump cross-platform-action to latest version (incl. FreeBSD fix) and get rid of superfluous symlink (#15831) 2023-11-19 07:54:22 +08:00
Iain Buclaw
b13052a343 Change host hypervisor to qemu for FreeBSD 2023-10-28 00:36:33 +02:00
Martin Kinkelin
6325773169 [try switching to macOS hosts] 2023-10-27 14:13:57 +02: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
d23821f019 [CODECOV_TOKEN is apparently not required due to implicit GitHub Actions support!] 2023-09-17 20:06:31 +02:00
Martin Kinkelin
183d01fac6 [work around apparent macOS bug in ci/run.sh rebuild] 2023-09-17 20:06:31 +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
mhh
4b61613b4b Fix Issue 23885 - Rearranging the commands makes the crypto operations not fail 2023-05-05 06:40:14 +08:00
Iain Buclaw
dc83348131 Merge remote-tracking branch 'upstream/stable' into merge_stable 2022-11-01 11:39:15 +00:00
Iain Buclaw
c14402c86c github: Add step to pre_commit.yaml that checks changelog entry filenames 2022-10-28 15:30:59 +01:00
Geod24
001134e8da GH Actions: Update versions of actions used 2022-10-15 01:18:51 +09:00
Geod24
dbf86dffbb GH Actions: Update set-output to use the new environment files
The old approach is deprecated.
2022-10-15 01:18:51 +09:00