Mercurial > p > roundup > code
comparison .github/workflows/ci-test.yml @ 7626:f053c2ae3db8
build: fix syntax error.
Bad line break.
[skip travis]
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 11 Sep 2023 02:03:45 -0400 |
| parents | aa8230de5b94 |
| children | bcf99a62deca |
comparison
equal
deleted
inserted
replaced
| 7625:aa8230de5b94 | 7626:f053c2ae3db8 |
|---|---|
| 202 # edit the configure script. | 202 # edit the configure script. |
| 203 # distutils.sysconfig.get_config_vars('SO') doesn't work for | 203 # distutils.sysconfig.get_config_vars('SO') doesn't work for |
| 204 # 3.11 or newer. | 204 # 3.11 or newer. |
| 205 # Change distutils.sysconfig... to just sysconfig and SO | 205 # Change distutils.sysconfig... to just sysconfig and SO |
| 206 # to EXT_SUFFIX to get valid value. | 206 # to EXT_SUFFIX to get valid value. |
| 207 if [[ $PYTHON_VERSION == "3."* ]]; then sed -i -e '/PYTHON3_SO=/s/distutils\.//g' -e '/PYTHON3_SO=/s/"SO"/"EXT_SUFFIX"/g' configure; ./configure | 207 if [[ $PYTHON_VERSION == "3."* ]]; then sed -i -e '/PYTHON3_SO=/s/distutils\.//g' -e '/PYTHON3_SO=/s/"SO"/"EXT_SUFFIX"/g' configure; ./configure --prefix=$VIRTUAL_ENV --with-python3 --disable-documentation; fi |
| 208 --prefix=$VIRTUAL_ENV --with-python3 --disable-documentation; fi | |
| 209 case "$PYTHON_VERSION" in nightly) echo skipping xapian build;; *) make && sudo make install; esac | 208 case "$PYTHON_VERSION" in nightly) echo skipping xapian build;; *) make && sudo make install; esac |
| 210 | 209 |
| 211 - name: Install pytest and other packages needed for running tests | 210 - name: Install pytest and other packages needed for running tests |
| 212 run: pip install flake8 mock pytest pytest-cov requests | 211 run: pip install flake8 mock pytest pytest-cov requests |
| 213 | 212 |
