switch to exact version of cython
[ieee754fpu.git] / .gitlab-ci.yml
index 0a51562256d57d0a3799fe80fd5324aacac4d77f..58b21d4e4c265f9827b40a497a158a19fc58b3c5 100644 (file)
@@ -48,13 +48,14 @@ build:
         - ccache --show-stats || true
         - python3 -m venv --system-site-packages .venv
         - . .venv/bin/activate
-        - pip install pytest-xdist twine cython
+        - pip install pytest-xdist==3.3.1 pytest==7.3.1
     script:
         - . .venv/bin/activate
 
         - IEEE754FPU_PATH="$(pwd)"
         - git clone --depth 1 --recursive -b v0.6.0 https://github.com/billzorn/sfpy.git sfpy
         - pushd sfpy
+        - git apply "$IEEE754FPU_PATH"/sfpy.patch
         - pushd berkeley-softfloat-3
         - git apply "$IEEE754FPU_PATH"/berkeley-softfloat.patch
         - popd
@@ -62,6 +63,7 @@ build:
         - git apply ../softposit_sfpy_build.patch
         - git apply "$IEEE754FPU_PATH"/SoftPosit.patch
         - popd
+        - pip install -r requirements.txt
         - make lib -j$(nproc)
         - make cython -j$(nproc)
         - make wheel -j$(nproc)
@@ -111,7 +113,7 @@ build:
         - make install
         - popd
 
-        - git clone --depth 1 -b smtlib2-expr-support https://gitlab.com/nmigen/nmigen.git nmigen
+        - git clone --depth 1 https://gitlab.com/nmigen/nmigen.git nmigen
         - pushd nmigen
         - git rev-parse HEAD
         - python3 setup.py develop
@@ -123,6 +125,12 @@ build:
         - python3 setup.py develop
         - 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
+        - python3 setup.py develop
+        - popd
+
         - python3 setup.py develop
 
         - pytest -v