Skip to content

Add GitHub Actions CI and a status badge - #2

Merged
godofecht merged 4 commits into
mainfrom
add-ci
Jul 20, 2026
Merged

Add GitHub Actions CI and a status badge#2
godofecht merged 4 commits into
mainfrom
add-ci

Conversation

@godofecht

Copy link
Copy Markdown
Owner

Builds and runs the VST3 ABI test harness on macos-latest against Zig 0.14.1. Verified green from a clean checkout of main.

macOS only for now: the webui example imports CoreAudio, so a Linux job would need that path excluded first.

🤖 Generated with Claude Code

godofecht and others added 4 commits July 19, 2026 22:17
Builds and runs the VST3 ABI test harness on macos-latest against Zig
0.14.1. Verified green from a clean checkout of main.

macOS only for now: the webui example imports CoreAudio, so a Linux job
would need that path excluded first.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
setup-zig@v1 builds the pre-rename artifact filename, which no longer
exists. Zig swapped arch and OS in its release names, so v1 requests a
path that 404s on every mirror and on ziglang.org itself:

    zig-linux-x86_64-0.14.1.tar.xz   404   <- requested by v1
    zig-x86_64-linux-0.14.1.tar.xz   200   <- actual

The run failed at step 3 with "Unexpected HTTP response: 404" after
exhausting all five mirrors, then failed again in post-cleanup with
"Unable to locate executable file: zig".

v2 knows the current naming.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Zig 0.14.1 does not locate libSystem on the macos-latest runner on its
own, so linking fails before any danzig code is reached — the build
runner itself cannot link:

    error: undefined symbol: _malloc_size
    error: undefined symbol: _realpath$DARWIN_EXTSN
    note: referenced by .../build.o:_posix.abort

Exporting SDKROOT from xcrun gives it the path. danzig has to stay on
macOS: the GUI example links CoreAudio and CoreFoundation, and the VST3
bundle is a macOS artifact.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
macos-latest now ships Xcode 26.5, whose SDK Zig 0.14.1 cannot link
against. Every libc symbol comes out undefined, and it fails before
reaching any danzig code — the build runner itself will not link:

    error: undefined symbol: _malloc_size
    note: referenced by .../build.o:_posix.abort

Setting SDKROOT from xcrun did not help, because the SDK is the problem
rather than its discoverability. macos-15 ships an SDK from before
Zig 0.14.1's release.

danzig has to stay on macOS: the GUI example links CoreAudio and
CoreFoundation, and the VST3 bundle is a macOS artifact. Replaces the
SDKROOT step with a toolchain report, so the next SDK break is obvious
from the log.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@godofecht
godofecht merged commit 5ebe2f9 into main Jul 20, 2026
1 check passed
@godofecht
godofecht deleted the add-ci branch July 24, 2026 23:25
godofecht added a commit that referenced this pull request Jul 29, 2026
Add GitHub Actions CI and a status badge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant