dont source venv, force rm if no musllinux wheels found
This commit is contained in:
parent
ad72f9c50a
commit
09fd48fe9c
|
@ -50,13 +50,11 @@ build_dep_wheels:
|
||||||
before_script:
|
before_script:
|
||||||
- >
|
- >
|
||||||
apk add
|
apk add
|
||||||
musl-dev
|
alpine-sdk
|
||||||
gcc
|
|
||||||
postgresql-dev
|
|
||||||
python3-dev
|
python3-dev
|
||||||
libldap
|
postgresql-dev
|
||||||
|
libldap-dev
|
||||||
libffi-dev
|
libffi-dev
|
||||||
make
|
|
||||||
zlib-dev
|
zlib-dev
|
||||||
jpeg-dev
|
jpeg-dev
|
||||||
openldap-dev
|
openldap-dev
|
||||||
|
@ -64,19 +62,16 @@ build_dep_wheels:
|
||||||
cargo
|
cargo
|
||||||
libxml2-dev
|
libxml2-dev
|
||||||
libxslt-dev
|
libxslt-dev
|
||||||
curl
|
|
||||||
poetry
|
poetry
|
||||||
py3-pip
|
py3-pip
|
||||||
- cd api
|
- cd api
|
||||||
- poetry export --without-hashes > ../requirements.txt
|
- poetry export --without-hashes > ../requirements.txt
|
||||||
- cd ..
|
- cd ..
|
||||||
- python -m venv venv
|
- python -m venv venv
|
||||||
- source venv/bin/activate
|
- venv/bin/pip install --upgrade pip wheel
|
||||||
- pip install --upgrade pip wheel
|
|
||||||
script:
|
script:
|
||||||
- source venv/bin/activate
|
- venv/bin/pip wheel --check-build-dependencies -w wheelhome -r requirements.txt
|
||||||
- pip wheel --check-build-dependencies -w wheelhome -r requirements.txt
|
- rm -f wheelhome/*-none-any.whl wheelhome/*-musllinux_*.whl
|
||||||
- rm wheelhome/*-none-any.whl wheelhome/*-musllinux_*.whl
|
|
||||||
- ls -l wheelhome
|
- ls -l wheelhome
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
|
Loading…
Reference in New Issue