Skip to content

Commit

Permalink
Binaries still not being built correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Blumberg committed Jan 22, 2019
1 parent b14ebe9 commit 02aced1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ steps:
- task: CondaEnvironment@1
displayName: 'Install Conda and packages'
inputs:
environmentName: 'test-env'
packageSpecs: 'python=3 numpy=1.15.* pyside pytest pip python-dateutil requests setuptools pyinstaller'
installOptions: '-q -c conda-forge'

# environmentName: 'test-env'
# createCustomEnvironment: true
# Output the conda environment packages and which python and pip is being used (for diagnostic purposes)
- script: which python & which pip & which pyinstaller & conda list
displayName: "Show python and conda configuration"
Expand All @@ -63,14 +64,16 @@ steps:
# Must use sudo for python-dependent stuff because conda permissions have
# stupid bug under macOS.
- script: |
sudo conda install -y -q -n test-env -c conda-forge python.app
sudo conda install -y -q -c conda-forge python.app
which python.app
ls /usr/local/miniconda/python.app/Contents/Resources
system_profiler SPDisplaysDataType | grep Resolution # Check display dimensions using OS tools
sudo python ci/screen.py # Check display dimensions as seen by PySide
sudo python setup.py -q install
sudo pytest -v --junitxml=junit/test-results.xml
sudo mv examples/data/14061619.png examples/data/14061619_mac.png
cd runsharp
sudo pyinstaller SHARPpy-osx.spec --noconsole --onefile --log-level DEBUG
sudo python.app -m PyInstaller SHARPpy-osx.spec --noconsole --onefile --log-level DEBUG
sudo chmod 777 dist/SHARPpy.app
ls -lh dist
cd ..
Expand Down

0 comments on commit 02aced1

Please sign in to comment.