Use a pre-compiled version of maturin
authorCesar Strauss <cestrauss@gmail.com>
Sat, 18 Sep 2021 20:56:41 +0000 (17:56 -0300)
committerCesar Strauss <cestrauss@gmail.com>
Sat, 18 Sep 2021 20:56:41 +0000 (17:56 -0300)
Should save compile time on the Gitlab CI runner.

.gitlab-ci.yml

index b05480756dbc1aaa503f2721b07e287643f03680..867411fa4ddce7beef88c6b704c9f3f8df997219 100644 (file)
@@ -112,7 +112,7 @@ build:
         - pip install dist/sfpy*.whl
         - popd
 
-        - cargo install maturin
+        - python3 -m pip install 'maturin>=0.11,<0.12'
         - git clone --depth 1 https://git.libre-soc.org/git/power-instruction-analyzer.git pia
         - pushd pia
         - maturin build --cargo-extra-args=--features=python-extension