Commit 2247fb4c authored by Thomas Vincent's avatar Thomas Vincent
Browse files

Update to match windows fat binary updates

parent e5861e5d
...@@ -250,19 +250,20 @@ windows_exe: ...@@ -250,19 +250,20 @@ windows_exe:
- pip install --find-links http://www.silx.org/pub/wheelhouse/ --trusted-host www.silx.org --prefer-binary pyopencl - pip install --find-links http://www.silx.org/pub/wheelhouse/ --trusted-host www.silx.org --prefer-binary pyopencl
- pip install .[full,test] - pip install .[full,test]
# Install pyinstaller # Install pyinstaller
- pip install pyinstaller==4.1 - pip install pyinstaller
# Generate fat binary # Generate fat binary
- cd package - cd package
- cd windows - cd windows
- pyinstaller pyinstaller.spec - pyinstaller pyinstaller.spec
- pyinstaller pyinstaller-silx-view.spec
- cd dist - cd dist
- dir - dir
- xcopy silx-view\silx-view.exe silx
- xcopy silx-view\silx-view.exe.manifest silx
- python -m zipfile -c %BOB_WINDOWS_APPLICATION% silx - python -m zipfile -c %BOB_WINDOWS_APPLICATION% silx
- xcopy %BOB_WINDOWS_APPLICATION% "..\\..\\..\\..\\..\\artifacts" - xcopy %BOB_WINDOWS_APPLICATION% "..\\..\\..\\..\\..\\artifacts"
- cd .. - cd ..
- cd artifacts
- dir
- xcopy "*.exe" "..\\..\\..\\..\\..\\artifacts"
- cd ..
- cd .. - cd ..
- cd .. - cd ..
artifacts: artifacts:
...@@ -279,7 +280,9 @@ windows_test_exe: ...@@ -279,7 +280,9 @@ windows_test_exe:
- rd /s /q silx - rd /s /q silx
- python -m zipfile -e "artifacts\\silx-windows-application.zip" . - python -m zipfile -e "artifacts\\silx-windows-application.zip" .
- cd silx - cd silx
- silx.exe test --no-gui --no-opencl - silx-view.exe
- timeout 10
- taskkill /IM "silx-view.exe" /F
- cd .. - cd ..
- rmdir silx /s /q - rmdir silx /s /q
needs: ["windows_exe"] needs: ["windows_exe"]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment