|
|
@@ -53,14 +53,16 @@ build-windows-exe:
|
|
|
stage: build
|
|
|
before_script:
|
|
|
- echo "Building windows executable"
|
|
|
- - apt install -qy zip
|
|
|
+ - apt install -qy zip tree
|
|
|
script:
|
|
|
- xvfb-run sh -c "wine python.exe -m pip install --upgrade pip; wineserver -w"
|
|
|
- xvfb-run sh -c "wine python.exe -m pip install --no-warn-script-location -r requirements.txt; 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 --name get.exe --paths=graph_exploring_tool --noconfirm; wineserver -w"
|
|
|
- xvfb-run sh -c "wine pyinstaller graph_exploring_tool/__main__.py --name get.exe --paths=graph_exploring_tool --noconfirm; wineserver -w"
|
|
|
- - ls dist
|
|
|
- - cp dist/get.exe ./
|
|
|
+ - ls -la dist
|
|
|
+ - tree dist
|
|
|
+ - cp -r dist/get.exe ./
|
|
|
rules:
|
|
|
- if: $CI_COMMIT_TAG
|
|
|
- if: $CI_PIPELINE_SOURCE == "push" || $CI_COMMIT_BRANCH == "dev"
|