|
@@ -56,15 +56,13 @@ build-windows-exe:
|
|
|
- apt install -qy zip
|
|
|
script:
|
|
|
- xvfb-run sh -c "wine pip install --no-warn-script-location -r requirements.py; wineserver -w"
|
|
|
-# - pyinstaller graph_exploring_tool/__main__.py --onefile --add-data data:data --collect-all graph-exploring-tool --windowed --noconfirm
|
|
|
- - xvfb-run sh -c "wine pyinstaller graph_exploring_tool/__main__.py --onefile; wineserver -w"
|
|
|
+# - xvfb-run sh -c "wine pyinstaller graph_exploring_tool/__main__.py --onefile --add-data data:data --collect-all graph-exploring-tool --windowed --noconfirm; wineserver -w"
|
|
|
+ - xvfb-run sh -c "wine pyinstaller graph_exploring_tool/__main__.py --onefile --add-data data:data --windowed --noconfirm; wineserver -w"
|
|
|
- mkdir -p dist/data/
|
|
|
- cp -r data/* dist/data/
|
|
|
- - zip -r graph-exploring-tool.zip dist
|
|
|
- - ls -la dist
|
|
|
only:
|
|
|
- tags
|
|
|
artifacts:
|
|
|
- name: "graph-exploring-tool-%CI_TAG.zip" # % because of windoze https://docs.gitlab.com/ee/ci/jobs/job_artifacts.html#with-a-windows-runner-or-shell-executor
|
|
|
+ name: "graph-exploring-tool-%$CI_COMMIT_TAG.zip"
|
|
|
paths:
|
|
|
- - ./graph-exploring-tool.zip
|
|
|
+ - ./dist/*
|