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:
- pip install --find-links http://www.silx.org/pub/wheelhouse/ --trusted-host www.silx.org --prefer-binary pyopencl
- pip install .[full,test]
# Install pyinstaller
- pip install pyinstaller==4.1
- pip install pyinstaller
# Generate fat binary
- cd package
- cd windows
- pyinstaller pyinstaller.spec
- pyinstaller pyinstaller-silx-view.spec
- cd dist
- dir
- xcopy silx-view\silx-view.exe silx
- xcopy silx-view\silx-view.exe.manifest silx
- python -m zipfile -c %BOB_WINDOWS_APPLICATION% silx
- xcopy %BOB_WINDOWS_APPLICATION% "..\\..\\..\\..\\..\\artifacts"
- cd ..
- cd artifacts
- dir
- xcopy "*.exe" "..\\..\\..\\..\\..\\artifacts"
- cd ..
- cd ..
- cd ..
artifacts:
......@@ -279,7 +280,9 @@ windows_test_exe:
- rd /s /q silx
- python -m zipfile -e "artifacts\\silx-windows-application.zip" .
- cd silx
- silx.exe test --no-gui --no-opencl
- silx-view.exe
- timeout 10
- taskkill /IM "silx-view.exe" /F
- cd ..
- rmdir silx /s /q
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