Skip to content

fix: enable Windows CI build after socket porting#9

Merged
anonymoussoft merged 2 commits intomasterfrom
codex/github-actions-release-publish
Apr 1, 2026
Merged

fix: enable Windows CI build after socket porting#9
anonymoussoft merged 2 commits intomasterfrom
codex/github-actions-release-publish

Conversation

@anonymoussoft
Copy link
Copy Markdown
Owner

Summary

  • Update tim2tox submodule to include IrcClientManager.cpp Winsock2 porting (POSIX socket API → Windows-compatible abstractions)
  • Remove continue-on-error: true from the Windows CI job now that the native library compiles on MSVC
  • Improve build_tim2tox.sh with ARM64 architecture support and PATH setup for vcpkg tools

Context

Follow-up to PR #8. The Windows build was failing because IrcClientManager.cpp used POSIX socket APIs (close(), fcntl(), errno, sys/socket.h, etc.) that don't exist on Windows. These have been replaced with cross-platform macros (IRC_CLOSE_SOCKET, IRC_ERRNO, irc_set_nonblocking) that use Winsock2 on Windows.

The native library (tim2tox_ffi.dll) has been successfully built and verified on a Windows VM with MSVC.

Test plan

  • Verify Windows CI job passes (no longer continue-on-error)
  • Verify Linux, macOS, Android, iOS jobs still pass (no regressions)

🤖 Generated with Claude Code

- Update tim2tox submodule to include IrcClientManager Winsock2 porting
  and ws2_32 link dependency
- Remove continue-on-error from Windows CI job now that the build compiles
- Improve build_tim2tox.sh with ARM64 arch support, pkg-config PATH setup,
  and powershell PATH for vcpkg post-build steps

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

- Update tim2tox submodule with Windows/MSVC porting for all source files:
  IrcClientManager Winsock2, uuid/unistd.h guards, std::filesystem for
  S_ISREG, sqlite3 guards, Windows macro undef, chrono include
- Remove continue-on-error from Windows CI job
- Improve build_tim2tox.sh with ARM64 arch support and vcpkg PATH setup

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@anonymoussoft anonymoussoft merged commit 202ebdb into master Apr 1, 2026
7 checks passed
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