Browse Source

Add pip upgrade to windows ci

Arkadiusz Ryś 3 years ago
parent
commit
4ede4cfd05
1 changed files with 2 additions and 1 deletions
  1. 2 1
      .gitlab-ci.yml

+ 2 - 1
.gitlab-ci.yml

@@ -55,7 +55,8 @@ build-windows-exe:
     - echo "Building windows executable"
     - apt install -qy zip
   script:
-    - xvfb-run sh -c "wine pip install --no-warn-script-location -r requirements.txt; wineserver -w"
+    - 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 --onefile --windowed --noconfirm; wineserver -w"
     - cp dist/get.exe ./