My github actions workflow doesn't work after migrated header file to mixed module way. #52504
|
You can check my workflow file here. https://github.com/hoshiizumiya/OpenNet/actions/runs/27895217083/workflow |
Replies: 1 comment 2 replies
|
The log points to the vcpkg manifest restore happening too late for the first C++ module pass. In both matrix jobs, the first real failures are:
Those dependencies are in
So I would make the vcpkg restore explicit before the $triplet = if ('${{ matrix.platform }}' -eq 'ARM64') { 'arm64-windows' } else { 'x64-windows' }
& "$env:VCPKG_INSTALLATION_ROOT\vcpkg.exe" install `
--triplet $triplet `
--vcpkg-root "$env:VCPKG_INSTALLATION_ROOT" `
--x-manifest-root "$env:GITHUB_WORKSPACE\OpenNet" `
--x-install-root "$env:GITHUB_WORKSPACE\OpenNet\vcpkg_installed\$triplet"Put that after the vcpkg NuGet source setup and before The later |


The log points to the vcpkg manifest restore happening too late for the first C++ module pass.
In both matrix jobs, the first real failures are:
TorrentMetadataFetcher.ixx:libtorrent/fwd.hppnot foundAria2Models.ixx/Aria2Helpers.ixx:nlohmann/json.hppnot foundThose dependencies are in
OpenNet/vcpkg.json, andOpenNet.vcxprojhasVcpkgEnableManifest=true, so vcpkg is being picked up. But in the failed run the order is roughly:.ixxfiles with an include path likeOpenNet\vcpkg_installed\arm64-windows\arm64-windows\include.C1083and thenMSB8074for the module dependency files.