mirror of
https://github.com/QuasarApp/LIEF.git
synced 2025-05-09 18:29:34 +00:00
Fix error
This commit is contained in:
parent
e56fae238d
commit
e4d2da1fd5
26
.github/workflows/linux-x86-64.yml
vendored
26
.github/workflows/linux-x86-64.yml
vendored
@ -23,19 +23,6 @@ jobs:
|
||||
key: linux-x86-64-${{ runner.os }}-${{ steps.get-date.outputs.date }}
|
||||
restore-keys: |
|
||||
linux-x86-64-${{ runner.os }}-
|
||||
- name: Build SDK
|
||||
if: matrix.python-version == '3.9'
|
||||
shell: bash
|
||||
run: |
|
||||
PYTHON_VERSION2=$(echo "${PYTHON_VERSION}" | sed 's/\.//') # Transform 3.8 -> 38
|
||||
docker run --name lief_sdk --rm \
|
||||
-e PYTHON_BINARY=/opt/python/cp${PYTHON_VERSION2}-cp${PYTHON_VERSION2}/bin/python${PYTHON_VERSION} \
|
||||
-e CCACHE_COMPRESS=1 \
|
||||
-e CCACHE_MAXSIZE=10.0G \
|
||||
-e CCACHE_DIR=/ccache \
|
||||
-v $GITHUB_WORKSPACE:/src \
|
||||
-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
|
||||
@ -68,6 +55,19 @@ jobs:
|
||||
-v $GITHUB_WORKSPACE:/src \
|
||||
-v $HOME/.ccache:/ccache \
|
||||
liefproject/manylinux1_x86_64 bash /src/scripts/docker/travis-linux.sh
|
||||
- name: Build SDK
|
||||
if: matrix.python-version == '3.9'
|
||||
shell: bash
|
||||
run: |
|
||||
PYTHON_VERSION2=$(echo "${PYTHON_VERSION}" | sed 's/\.//') # Transform 3.8 -> 38
|
||||
docker run --name lief_sdk --rm \
|
||||
-e PYTHON_BINARY=/opt/python/cp${PYTHON_VERSION2}-cp${PYTHON_VERSION2}/bin/python${PYTHON_VERSION} \
|
||||
-e CCACHE_COMPRESS=1 \
|
||||
-e CCACHE_MAXSIZE=10.0G \
|
||||
-e CCACHE_DIR=/ccache \
|
||||
-v $GITHUB_WORKSPACE:/src \
|
||||
-v $HOME/.ccache:/ccache \
|
||||
liefproject/manylinux1_x86_64 bash /src/scripts/docker/travis-linux-sdk.sh
|
||||
- name: Deploy
|
||||
env:
|
||||
LIEF_AUTOMATIC_BUILDS_KEY: ${{ secrets.LIEF_AUTOMATIC_BUILDS_KEY }}
|
||||
|
@ -38,4 +38,6 @@ popd
|
||||
/bin/mv build/linux-x86-64/*.tar.gz build/
|
||||
ls -alh build
|
||||
|
||||
chown -R 1000:1000 build dist wheel_stage
|
||||
chown -R 1000:1000 build || true
|
||||
chown -R 1000:1000 dist || true
|
||||
chown -R 1000:1000 wheel_stage || true
|
||||
|
Loading…
x
Reference in New Issue
Block a user