Skip to content

Commit

Permalink
Fixing zipping path on Win and trying to get OSX to recognize Python.app
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Blumberg committed Jan 22, 2019
1 parent c0d2c45 commit a294104
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ steps:
sudo pytest -v --junitxml=junit/test-results.xml
sudo mv examples/data/14061619.png examples/data/14061619_mac.png
cd runsharp
sudo python -m PyInstaller SHARPpy-osx.spec --noconsole --onefile --log-level DEBUG
sudo pyinstaller SHARPpy-osx.spec --noconsole --onefile --log-level DEBUG
cd ..
sudo chmod 777 dist/SHARPpy.app
ls -lh dist
Expand All @@ -92,7 +92,7 @@ steps:
pytest -v --junitxml=junit/test-results.xml
move examples\\data\\14061619.png examples\\data\\14061619_win.png
cd runsharp
python -m PyInstaller SHARPpy-win7-64.spec --log-level DEBUG
pyinstaller SHARPpy-win7-64.spec --log-level DEBUG
cd ..
displayName: "Installing code and running tests (Windows)"
condition: eq( variables['Agent.OS'], 'Windows_NT')
Expand All @@ -107,7 +107,7 @@ steps:
# Zipping Windows files
- task: ArchiveFiles@2
inputs:
rootFolderOrFile: dist/SHARPpy.exe
rootFolderOrFile: runsharp/dist/SHARPpy.exe
archiveType: zip
archiveFile: '$(Build.ArtifactStagingDirectory)/SHARPpy-win-64.zip'
displayName: "Zipping Windows .exe"
Expand All @@ -116,7 +116,7 @@ steps:
# Zipping MacOS .app
- task: ArchiveFiles@2
inputs:
rootFolderOrFile: dist/SHARPpy.app
rootFolderOrFile: runsharp/dist/SHARPpy.app
archiveType: zip
archiveFile: '$(Build.ArtifactStagingDirectory)/SHARPpy-osx-64.zip'
displayName: "Zipping macOS .app"
Expand Down

0 comments on commit a294104

Please sign in to comment.