Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
romainthomas committed Oct 8, 2023
1 parent 068512c commit e971c9d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux-aarch64.yml
Expand Up @@ -49,7 +49,7 @@ jobs:
needs: linux-sdk
strategy:
matrix:
python-version: [3.8, 3.9, '3.10', '3.11']
python-version: [3.8, 3.9, '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
with:
Expand Down
28 changes: 17 additions & 11 deletions .github/workflows/linux-x86-64.yml
@@ -1,6 +1,9 @@
name: 'Linux x86-64'
on: push

env:
manylinux-tag: '1.0.0'

jobs:
linux-sdk:
runs-on: ubuntu-latest
Expand All @@ -24,14 +27,15 @@ jobs:
shell: bash
run: |
mkdir -p $RUNNER_TEMP/lief-install
docker run --name lief_sdk --rm \
-e CCACHE_COMPRESS=1 \
-e CCACHE_MAXSIZE=10.0G \
-e CCACHE_DIR=/ccache \
-v $GITHUB_WORKSPACE:/src \
-v $RUNNER_TEMP/lief-install:/install \
-v $HOME/.ccache:/ccache \
liefproject/manylinux_2_28_x86_64 bash /src/scripts/docker/run_linux_sdk.sh
docker run --name lief_sdk --rm \
-e CCACHE_COMPRESS=1 \
-e CCACHE_MAXSIZE=10.0G \
-e CCACHE_DIR=/ccache \
-v $GITHUB_WORKSPACE:/src \
-v $RUNNER_TEMP/lief-install:/install \
-v $HOME/.ccache:/ccache \
liefproject/manylinux_2_28_x86_64:${{ env.manylinux-tag }} \
bash /src/scripts/docker/run_linux_sdk.sh
- name: 'Upload SDK Artifact'
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -77,7 +81,8 @@ jobs:
-e PYTHON_BINARY=/opt/python/cp38-cp38/bin/python3.8 \
-v $GITHUB_WORKSPACE:/src \
-v $HOME/.ccache:/ccache \
liefproject/manylinux_2_28_x86_64 bash /src/scripts/docker/run_linux_test.sh
liefproject/manylinux_2_28_x86_64:${{ env.manylinux-tag }} \
bash /src/scripts/docker/run_linux_test.sh
pywheels:
runs-on: ubuntu-latest
needs: linux-sdk
Expand Down Expand Up @@ -121,7 +126,8 @@ jobs:
-v $GITHUB_WORKSPACE:/src \
-v $HOME/.ccache:/ccache \
-v $RUNNER_TEMP/lief-install:/install \
liefproject/manylinux_2_28_x86_64 bash /src/scripts/docker/run_linux.sh
liefproject/manylinux_2_28_x86_64:${{ env.manylinux-tag }} \
bash /src/scripts/docker/run_linux.sh
- name: 'Artifact'
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -163,7 +169,7 @@ jobs:
needs: [deploy]
runs-on: ubuntu-latest
container:
image: liefproject/manylinux_2_28_x86_64
image: liefproject/manylinux_2_28_x86_64:${{ env.manylinux-tag }}
env:
CIRCLE_CI_URL: "https://circleci.com/api/v2/project/gh/lief-project/doc/pipeline"
CIRCLE_CI_TOKEN: ${{ secrets.CIRCLE_CI_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/osx.yml
Expand Up @@ -119,7 +119,7 @@ jobs:
needs: osx-sdk
strategy:
matrix:
python-version: [3.8, 3.9, '3.10', '3.11']
python-version: [3.8, 3.9, '3.10', '3.11', '3.12']
arch: ['x64', 'arm64']
fail-fast: false
steps:
Expand Down

0 comments on commit e971c9d

Please sign in to comment.