|
@@ -47,3 +47,20 @@ build-upload:
|
|
|
- python -m twine upload dist/*
|
|
|
only:
|
|
|
- tags
|
|
|
+
|
|
|
+build-windows-exe:
|
|
|
+ image: cdrx/pyinstaller-windows
|
|
|
+ stage: build
|
|
|
+ script:
|
|
|
+ - pip install -r requirements.txt
|
|
|
+# - pyinstaller graph_exploring_tool/__main__.py --onefile --add-data data:data --collect-all graph-exploring-tool --windowed --noconfirm
|
|
|
+ - pyinstaller graph_exploring_tool/__main__.py --onefile
|
|
|
+ - cp -r data/* ./build/data/
|
|
|
+ - zip files build
|
|
|
+ - ls -la build
|
|
|
+# only:
|
|
|
+# - tags
|
|
|
+ artifacts:
|
|
|
+ name: "graph-exploring-tool-%CI_TAG.zip" # % because of windows https://docs.gitlab.com/ee/ci/jobs/job_artifacts.html#with-a-windows-runner-or-shell-executor
|
|
|
+ paths:
|
|
|
+ - ./buildgraph-exploring-tool.zip
|