Skip to content

Commit

Permalink
Install conan using uv (#845)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #845

Linux CI is currently broken because pip tries to remove system package.

uv installs each tool in its own virtualenv and it's much faster than pip.

Reviewed By: blackm00n

Differential Revision: D68271455

fbshipit-source-id: 9d1cd36bf8e0097a6af013895e9d9567a1a9069f
  • Loading branch information
KapJI authored and facebook-github-bot committed Jan 16, 2025
1 parent 865cac0 commit c425e1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/actions/setup_linux_env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ runs:
- uses: haskell-actions/setup@v2
with:
ghc-version: '9.10.1'
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install conan
run: sudo pip3 install conan==1.*
run: uv tool install conan==1.*
shell: bash
- uses: actions/setup-go@v5
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/actions/setup_macos_env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ runs:
- name: Brew install
run: brew install cmake python3 coreutils opam llvm protobuf zstd
shell: bash
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install conan
run: sudo pip3 install --break-system-packages conan==1.*
run: uv tool install conan==1.*
shell: bash
- uses: "./.github/actions/print_versions"
- uses: actions/setup-go@v5
Expand Down

0 comments on commit c425e1d

Please sign in to comment.