Skip to content

Commit

Permalink
Temporarily disable buck2 CI on Windows
Browse files Browse the repository at this point in the history
We need to improve the way that the system_cxx_toolchain discovers
location of the MSVC build tools.

    Action failed: root//:core (prelude//platforms:default#fb50fd37ce946800) (cxx_compile src/cxx.cc)
    Local command returned non-zero exit code 1
    Local command: "buck-out\\v2\\gen\\toolchains\\fb50fd37ce946800-fb50fd37ce946800\\__cxx__\\windows_compiler.bat" "/Fobuck-out\\v2\\gen\\root\\fb50fd37ce946800\\__core__\\__objects__\\src\\cxx.cc.obj" "@buck-out\\v2\\gen\\root\\fb50fd37ce946800\\__core__\\.cc.argsfile" -c "src\\cxx.cc"
    Stdout:
    Stderr: Traceback (most recent call last):
      File "D:\a\cxx\cxx\buck-out\v2\gen\prelude\fb50fd37ce946800\cxx\tools\__windows_compiler_wrapper__\windows_compiler_wrapper.py", line 59, in <module>
        main()
      File "D:\a\cxx\cxx\buck-out\v2\gen\prelude\fb50fd37ce946800\cxx\tools\__windows_compiler_wrapper__\windows_compiler_wrapper.py", line 54, in main
        arguments.extend(find_msvc_includes(compiler_real))
      File "D:\a\cxx\cxx\buck-out\v2\gen\prelude\fb50fd37ce946800\cxx\tools\__windows_compiler_wrapper__\windows_compiler_wrapper.py", line 37, in find_msvc_includes
        raise FileNotFoundError("{} not found".format(compiler))
    FileNotFoundError: cl.exe not found
  • Loading branch information
dtolnay committed Jul 22, 2023
1 parent 96b315f commit 287298d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,11 @@ jobs:
components: rust-src
- uses: dtolnay/install-buck2@latest
- run: buck2 run demo
continue-on-error: ${{matrix.os == 'windows'}} # FIXME: cl.exe not found
- run: buck2 build ...
continue-on-error: ${{matrix.os == 'windows'}}
- run: buck2 test ...
continue-on-error: ${{matrix.os == 'windows'}}
- uses: dtolnay/install@reindeer
if: matrix.os == 'ubuntu'
- run: reindeer buckify
Expand Down

0 comments on commit 287298d

Please sign in to comment.