Commit 680df0d5 authored by Christoph Reiter's avatar Christoph Reiter 🐍

ci: enable pycairo for PyPy

It can use pycairo as a subproject now
parent 6c312e9f
......@@ -30,14 +30,10 @@ export CFLAGS="-coverage -ftest-coverage -fprofile-arcs -Werror"
/usr/bin/python3 -m pip install --user meson
export PATH="${HOME}/.local/bin:${PATH}"
export PKG_CONFIG_PATH="$(python -c 'import sys; sys.stdout.write(sys.prefix)')/lib/pkgconfig"
# pycairo install under PyPy doesn't install a .pc file
if [[ "${PYIMPL}" == "PyPy" ]]; then
meson _build -Dpython="$(which python)" -Dpycairo=false
else
meson _build -Dpython="$(which python)"
fi
meson _build -Dpython="$(which python)"
ninja -C _build
xvfb-run -a meson test --timeout-multiplier 4 -C _build -v
xvfb-run -a meson test --suite pygobject --timeout-multiplier 4 -C _build -v
rm -Rf _build
# CODE QUALITY
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment