Skip to content

Commit cb494f6

Browse files
author
Roman
committed
add Install Rust toolchain
1 parent 8d0a98d commit cb494f6

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.circleci/config.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ jobs:
3636
- run:
3737
name: Update & Activate ruff venv
3838
command: |
39-
curl https://sh.rustup.rs -sSf | sh -s -- -y
40-
. "$HOME/.cargo/env"
4139
python -m venv .venv
4240
. .venv/bin/activate
4341
python -m pip install --upgrade uv
@@ -95,6 +93,21 @@ jobs:
9593
- v2-pypi-py<< parameters.python-version >>-{{ checksum "requirements/prod.txt" }}+{{ checksum "requirements/dev.txt" }}
9694
- v2-pypi-py<< parameters.python-version >>
9795

96+
- run:
97+
name: Install Rust toolchain
98+
command: |
99+
curl https://sh.rustup.rs -sSf | sh -s -- -y
100+
echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> $BASH_ENV
101+
source $BASH_ENV
102+
rustc --version
103+
cargo --version
104+
105+
- run:
106+
name: Install maturin
107+
command: |
108+
source $BASH_ENV
109+
pip install maturin
110+
98111
- run:
99112
name: Update & Activate venv
100113
command: |

0 commit comments

Comments
 (0)