Github Actions on MacOS?
Atila Neves
atila.neves at gmail.com
Thu Nov 13 19:56:50 UTC 2025
Does anyone have a working configuration for running CI on Github
on MacOS? I just tried macos-15 and macos-15-intel and both of
them have bizarre failures.
macos-15:
```
Error Failed to invoke the compiler
/Users/runner/hostedtoolcache/dmd/2.111.0/arm64/dmd2/osx/bin/dmd
to determine the build platform: Error: Process completed with
exit code 2.
```
macos-15-intel:
```
ld: symbol count from symbol table and dynamic symbol table
differ in
'.dub/build/unittest-unittest-cov-posix.osx.darwin-x86_64-dmd_v2.099.1-A62A8129828DF2632493543B85B0147E/ut_pass.o' in '.dub/build/unittest-unittest-cov-posix.osx.darwin-x86_64-dmd_v2.099.1-A62A8129828DF2632493543B85B0147E/ut_pass.o'
clang: error: linker command failed with exit code 1 (use -v to
see invocation)
Error: linker exited with status 1
uncaught exception
object.Exception at source/dub/compilers/compiler.d(134):
/Users/runner/hostedtoolcache/dmd/2.099.1/x64/dmd2/osx/bin/dmd
failed with exit code 1.
----------------
??:? pure @safe bool
std.exception.enforce!().enforce!(bool).enforce(bool, lazy
const(char)[], immutable(char)[], ulong) [0x1057db6da]
??:? void
dub.compilers.compiler.Compiler.invokeTool(immutable(char)[][],
void delegate(int, immutable(char)[]),
immutable(char)[][immutable(char)[]]) [0x1055f757a]
??:? void dub.compilers.dmd.DMDCompiler.invokeLinker(in
dub.compilers.buildsettings.BuildSettings, in
dub.platform.BuildPlatform, immutable(char)[][], void
delegate(int, immutable(char)[])) [0x105600aa4]
??:? void
dub.generators.build.BuildGenerator.buildWithCompiler(dub.generators.generator.GeneratorSettings, dub.compilers.buildsettings.BuildSettings) [0x1055eb47a]
??:? bool
dub.generators.build.BuildGenerator.performCachedBuild(dub.generators.generator.GeneratorSettings, dub.compilers.buildsettings.BuildSettings, in dub.package_.Package, immutable(char)[], immutable(char)[], in dub.package_.Package[], in dub.internal.vibecompat.inet.path.NativePath[], out dub.internal.vibecompat.inet.path.NativePath) [0x1055e97c0]
/Users/runner/work/unit-threaded/unit-threaded/build/ut.sh: line
13: 2218 Abort trap: 6 dub test -q
--build=unittest-cov --compiler="$DC"
```
Thanks.
More information about the Digitalmars-d
mailing list