Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
Add extra directory to look for vcpkg in GitHub Actions runner. (#1779)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #1779

Adding extra directory to look for vcpkg in GitHub Actions runner.
In initial tests the `C:/vcpkg` has been used but recently a CI test failed because `D:/a/beanmachine/beanmachine/vcpkg` was used instead, so we are adding it to the search options.
Also fixing local directory search option.

Reviewed By: feynmanliang

Differential Revision: D40646091

fbshipit-source-id: 0d708620862574648ceb495faba46632a9729bf7
  • Loading branch information
rodrigodesalvobraz authored and facebook-github-bot committed Oct 24, 2022
1 parent 3dffd67 commit 709a925
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,10 @@
elif platform.system() == "Windows":
RANGE_V3_INCLUDE_DIR_CANDIDATES.extend(
[
# GitHub Actions runner
"./vcpkg/packages/range-v3_x86-windows/include",
# The following two options were observed being used on GitHub Actions runner:
"C:/vcpkg/packages/range-v3_x86-windows/include",
".vcpkg/packages/range-v3_x86-windows/include",
"D:/a/beanmachine/beanmachine/vcpkg/packages/range-v3_x86-windows/include",
]
)
print(
Expand Down

0 comments on commit 709a925

Please sign in to comment.