.gitlab-ci.yml: Clone and build power-instruction-analyzer
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Tue, 4 May 2021 10:57:26 +0000 (12:57 +0200)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 4 May 2021 19:18:22 +0000 (20:18 +0100)
.gitlab-ci.yml

index 2d61f85b3279793ee33919e6339ec266b53b7408..30f5568fbb061a26eee2670469f9d091b5f99458 100644 (file)
@@ -109,6 +109,13 @@ build:
         - pip install dist/sfpy*.whl
         - popd
 
+        - cargo install maturin
+        - 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
+        - python3 -m pip install target/wheels/*.whl
+        - popd
+
         - python setup.py develop
         - python src/soc/decoder/pseudo/pywriter.py
         - nosetests -v --processes=-1 --process-timeout=120