Skip to content

Commit c3f6a19

Browse files
committed
ci: build the jadepy wheel/sdist for releases
1 parent 6cabc58 commit c3f6a19

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.gitlab-ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,26 @@ test_flash_artifact_noblobs_v1_1:
484484
before_script:
485485
- mv build_jade_v1_1_noblobs_ci build
486486

487+
build_jadepy_wheel:
488+
tags:
489+
- ga
490+
stage: build
491+
artifacts:
492+
expire_in: 14 days
493+
name: jadepy
494+
when: on_success
495+
paths:
496+
- dist
497+
script:
498+
- cd $CI_PROJECT_DIR
499+
- apt install -yqq python3-venv
500+
- virtualenv -p python3 venv
501+
- source venv/bin/activate
502+
- pip install build
503+
- python -m build
504+
- deactivate
505+
- rm -rf venv
506+
487507
build_api_docs:
488508
tags:
489509
- ga

0 commit comments

Comments
 (0)