From 6c12f1b32c895cd00bff97b160ba31a4a27de92b Mon Sep 17 00:00:00 2001 From: Daniel de Leng <dnleng@protonmail.com> Date: Tue, 2 Jul 2024 21:06:24 +0200 Subject: [PATCH] Handle generation of code artifacts in CI --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 21e212234..a891d7fac 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,8 +15,17 @@ pages: - cd .. - mkdir public - cp -r docs/_build/html/* public + - cd build/python-api-src + - stubgen -m library -o . + - cd ../.. + - python3 generate_pydocs.py + - mkdir artifacts + - cp build/python-api-src/library.cpython-*-x86_64-linux-gnu.so artifacts + - cp build/python-api-src/library.pyi artifacts artifacts: paths: - public + - artifacts only: - master + - python12_update \ No newline at end of file -- GitLab