Skip to content

GitHub actions#323

Open
seanwayland wants to merge 21 commits into
belangeo:masterfrom
pyo-org:github-actions
Open

GitHub actions#323
seanwayland wants to merge 21 commits into
belangeo:masterfrom
pyo-org:github-actions

Conversation

@seanwayland
Copy link
Copy Markdown

I worked on this with copilt.
The idea is for github CI/CD to run the tests on windows.

belangeo and others added 21 commits May 24, 2026 14:36
Add context manager support to the Server object
…paths

- Windows: Injects VCPKG_ROOT environment variable with corrected path
- macOS: Ensures BREW_OPT_ROOT uses system default paths
- Linux: No patch needed, system paths work correctly
- Modifications only affect CI runners, not committed to master
- Windows: Use PowerShell string operations instead of bash heredoc
- Cross-platform: Use python shell instead of bash heredoc
- Windows paths with backslashes were being interpreted as escape sequences
- Now properly escape backslashes in regex replacement string
- Use raw strings (r'...') to prevent backslash interpretation
- Replace Unicode checkmark with ASCII [OK] for CP1252 compatibility
- Set CFLAGS, LDFLAGS, C_INCLUDE_PATH, LIBRARY_PATH for Linux
- Ensure system include paths are available to compiler
- Linux didn't have a patch before, now uses environment variables
- Double escape backslashes before using in re.sub() replacement
- PowerShell already handles this correctly, just simplified
- Windows: Use function-based regex replacement to avoid escape interpretation
- Linux: Patch setup.py to add /usr/include and /usr/local/include to include_dirs
- PowerShell: Use regex::Escape for safer pattern matching
- libportaudio2 is runtime library only
- libportaudio-dev provides headers needed for compilation (portaudio.h)
- This should fix the 'fatal error: portaudio.h: No such file or directory' on Linux
- portaudio19-dev (correct) instead of libportaudio-dev (doesn't exist)
- libjack-jackd2-dev instead of build-essential
- libsndfile-dev instead of libsndfile1-dev
- Follow official documentation from docs/compiling.html
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.

3 participants