Open3

GitHub ActionsのWindowsイメージのClangが動かない問題

okuokuokuoku

msvc-dev-cmd アクションを使ってみる

https://github.com/marketplace/actions/enable-developer-command-prompt

これ使うか。

https://github.com/okuoku/em2native-proto/commit/eb7279120ed773219afad3b9c24133a42ed7311c

Host clang: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/Llvm/x64/bin/clang.exe

ちゃんと検出できている。でもビルドに失敗する:

C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): warning MSB8065: Custom build for item "D:\a\em2native-proto\em2native-proto\em2c-win64-tracker-vulkan\CMakeFiles\2f788e76a63fdc5f7de788b63d910daa\app_wasm.o.rule" succeeded, but specified output "d:\a\em2native-proto\em2native-proto\em2c-win64-tracker-vulkan\app\app_wasm.o" has not been created. This may cause incremental build to work incorrectly. [D:\a\em2native-proto\em2native-proto\em2c-win64-tracker-vulkan\app\appcode.vcxproj]

挙動がおかしい過ぎる。。