mirror of
https://github.com/QuasarApp/LIEF.git
synced 2025-04-27 04:44:31 +00:00
Fix python 37
This commit is contained in:
parent
536f24a91b
commit
caac866496
17
.github/workflows/linux-x86-64.yml
vendored
17
.github/workflows/linux-x86-64.yml
vendored
@ -37,6 +37,23 @@ jobs:
|
|||||||
-v $HOME/.ccache:/ccache \
|
-v $HOME/.ccache:/ccache \
|
||||||
liefproject/manylinux1_x86_64 bash /src/scripts/docker/travis-linux-sdk.sh
|
liefproject/manylinux1_x86_64 bash /src/scripts/docker/travis-linux-sdk.sh
|
||||||
- name: Build Python ${{ matrix.python-version }} wheel
|
- 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
|
shell: bash
|
||||||
env:
|
env:
|
||||||
PYTHON_VERSION: ${{ matrix.python-version }}
|
PYTHON_VERSION: ${{ matrix.python-version }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user