make installing cocotb work
authorJacob Lifshay <programmerjake@gmail.com>
Mon, 11 Sep 2023 21:39:22 +0000 (14:39 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Mon, 11 Sep 2023 21:39:22 +0000 (14:39 -0700)
.gitlab-ci.yml

index 013521677540cd7b03fa2c314749408fa269706d..c57c2d547bf19eb76421deb3cb99e33e9d883a32 100644 (file)
@@ -56,6 +56,16 @@ build:
         - . .env/bin/activate
         - pip install pytest-xdist==3.3.1 pytest==7.3.1
 
+        - git clone --depth 1 -b v0.1.1 https://github.com/cocotb/cocotb-bus.git cocotb-bus
+        - pushd cocotb-bus
+        - pip install . --no-deps
+        - popd
+
+        - git clone --depth 1 -b v1.5.2 https://github.com/cocotb/cocotb.git cocotb
+        - pushd cocotb
+        - pip install .
+        - popd
+
         - git clone --depth 1 https://git.libre-soc.org/git/pytest-output-to-files.git pytest-output-to-files
         - pushd pytest-output-to-files
         - git rev-parse HEAD
@@ -84,11 +94,6 @@ build:
         - make install
         - popd
 
-        - git clone --depth 1 -b v1.5.2 https://github.com/cocotb/cocotb.git cocotb
-        - pushd cocotb
-        - python3 setup.py install
-        - popd
-
         - git clone --depth 1 https://gitlab.com/nmigen/nmigen.git nmigen
         - pushd nmigen
         - git rev-parse HEAD
@@ -155,4 +160,4 @@ build:
         - popd
 
         - python setup.py develop
-        - SILENCELOG='!*,default' pytest -v --maxfail=10
+        - SILENCELOG='!*,default' pytest -v --maxfail=20