Skip to content

ci: give asio-sys a known ASIO SDK path on Windows - #946

Open
kapok-4o wants to merge 1 commit into
RustAudio:masterfrom
kapok-4o:ci/windows-asio-sdk
Open

kapok-4o wants to merge 1 commit into
RustAudio:masterfrom
kapok-4o:ci/windows-asio-sdk

Conversation

@kapok-4o

Copy link
Copy Markdown

Since around November 16 the Tests (windows-latest) job fails on every PR (e.g. #940, #941, #943) at the --all-features step: asio-sys reports "Downloaded ASIO SDK successfully", then helpers.hpp fails with fatal error C1083: Cannot open include file: 'asiodrivers.h'. The last green Windows run used image 20261103; the failing ones use 20261116.

Without CPAL_ASIO_DIR, asio-sys downloads the SDK into the runner's temp directory and renames the first top-level folder whose name starts with "asio". The SDK zip itself is fine (ASIOSDK/host/asiodrivers.h is there, and it hasn't changed since October 2025), so my guess is that the new image's temp directory has another folder matching that prefix, though I couldn't confirm it without a Windows runner.

This adds a Windows-only step that downloads and extracts the SDK into the workspace and sets CPAL_ASIO_DIR to it, the same approach cpal's own CI uses (.github/actions/setup-asio). With it, every Windows step passes in my fork, including both --all-features test runs: https://github.com/kapok-4o/rodio/actions/runs/45786859657

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