make jobs parallel back and split pip cache
This commit is contained in:
parent
5dbdfb2d4c
commit
375a211f57
|
@ -37,7 +37,7 @@ stages:
|
||||||
- .cargo/registry/index
|
- .cargo/registry/index
|
||||||
- .cargo/registry/cache
|
- .cargo/registry/cache
|
||||||
- .cargo/git/db
|
- .cargo/git/db
|
||||||
- key: dep-pip
|
- key: dep-pip-$DOCKER_ARCH
|
||||||
paths:
|
paths:
|
||||||
- .pip
|
- .pip
|
||||||
stage: deps_build
|
stage: deps_build
|
||||||
|
@ -75,7 +75,7 @@ stages:
|
||||||
- |
|
- |
|
||||||
for wheel in wheelhouse/* ; do
|
for wheel in wheelhouse/* ; do
|
||||||
echo "Correcting tags for $wheel"
|
echo "Correcting tags for $wheel"
|
||||||
corrected_tag="$(python3 -c "import auditwheel.wheel_abi; print(auditwheel.wheel_abi.analyze_wheel_abi('$wheel').overall_tag)" || true)"
|
corrected_tag="$(venv/bin/python3 -c "import auditwheel.wheel_abi; print(auditwheel.wheel_abi.analyze_wheel_abi('$wheel').overall_tag)" || true)"
|
||||||
echo "New tag: $corrected_tag"
|
echo "New tag: $corrected_tag"
|
||||||
[[ "$wheel" = "*$corrected_tag*" ]] && { echo 'Tag already correct or correct tag is unknown - skipping.' ; continue ; }
|
[[ "$wheel" = "*$corrected_tag*" ]] && { echo 'Tag already correct or correct tag is unknown - skipping.' ; continue ; }
|
||||||
|
|
||||||
|
@ -99,31 +99,13 @@ stages:
|
||||||
paths:
|
paths:
|
||||||
- wheelhouse
|
- wheelhouse
|
||||||
|
|
||||||
build_dep_wheels_amd64:
|
build_dep_wheels:
|
||||||
extends: .build_dep_wheels
|
extends: .build_dep_wheels
|
||||||
variables:
|
parallel:
|
||||||
DOCKER_ARCH: amd64
|
matrix:
|
||||||
|
- DOCKER_ARCH: [amd64, i386, arm64v8, arm32v7]
|
||||||
build_dep_wheels_arm64v8:
|
|
||||||
needs: [build_dep_wheels_amd64]
|
|
||||||
extends: .build_dep_wheels
|
|
||||||
variables:
|
|
||||||
DOCKER_ARCH: arm64v8
|
|
||||||
|
|
||||||
build_dep_wheels_i386:
|
|
||||||
needs: [build_dep_wheels_arm64v8]
|
|
||||||
extends: .build_dep_wheels
|
|
||||||
variables:
|
|
||||||
DOCKER_ARCH: i386
|
|
||||||
|
|
||||||
build_dep_wheels_arm32v7:
|
|
||||||
needs: [build_dep_wheels_i386]
|
|
||||||
extends: .build_dep_wheels
|
|
||||||
variables:
|
|
||||||
DOCKER_ARCH: arm32v7
|
|
||||||
|
|
||||||
build_dep_wheels_riscv64:
|
build_dep_wheels_riscv64:
|
||||||
needs: [build_dep_wheels_arm32v7]
|
|
||||||
extends: .build_dep_wheels
|
extends: .build_dep_wheels
|
||||||
variables:
|
variables:
|
||||||
DOCKER_ARCH: riscv64
|
DOCKER_ARCH: riscv64
|
||||||
|
|
Loading…
Reference in New Issue