Fix python 37

This commit is contained in:
Romain Thomas 2021-01-08 07:26:55 +01:00
parent 536f24a91b
commit caac866496

View File

@ -37,6 +37,23 @@ jobs:
-v $HOME/.ccache:/ccache \
liefproject/manylinux1_x86_64 bash /src/scripts/docker/travis-linux-sdk.sh
- name: Build Python ${{ matrix.python-version }} wheel
if: matrix.python-version == '3.7'
shell: bash
env:
PYTHON_VERSION: ${{ matrix.python-version }}
run: |
PYTHON_VERSION2=$(echo "${PYTHON_VERSION}" | sed 's/\.//') # Transform 3.8 -> 38
docker run --rm \
-e CCACHE_COMPRESS=1 \
-e CCACHE_MAXSIZE=10.0G \
-e CCACHE_CPP2=1 \
-e CCACHE_DIR=/ccache \
-e PYTHON_BINARY=/opt/python/cp${PYTHON_VERSION2}-cp${PYTHON_VERSION2}m/bin/python${PYTHON_VERSION} \
-v $GITHUB_WORKSPACE:/src \
-v $HOME/.ccache:/ccache \
liefproject/manylinux1_x86_64 bash /src/scripts/docker/travis-linux.sh
- name: Build Python ${{ matrix.python-version }} wheel
if: matrix.python-version != '3.7'
shell: bash
env:
PYTHON_VERSION: ${{ matrix.python-version }}