Skip to content

Commit

Permalink
Fix the configure for Azure DevOps (#335)
Browse files Browse the repository at this point in the history
* 💚 Modify azure-pipelines.yml

Fix the branch to build from a specific commit to the master branch in
order to build the latest version. Fix a command to install dependencies
with Homebrew because `brew upgrade` returns an error code if the
packages are already installed.

* 💚 Install boost in Azure DevOps

It failed to build because boost is not installed
  • Loading branch information
0ncorhynchus authored and kozo2 committed Feb 28, 2019
1 parent 527bae9 commit 133985d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ steps:
displayName: 'Run a one-line script'

- script: |
brew update && brew upgrade cmake python && brew install gsl hdf5
brew update && brew upgrade cmake python
brew install boost gsl hdf5
/usr/local/bin/python3 -m pip install -U pip wheel delocate cython
git clone git://github.com/ecell/ecell4-base && cd ecell4-base
git checkout 19571332ad7d7cf96505484713d18d028e9462c5
git submodule init && git submodule update && cmake -DPYTHON_EXECUTABLE:FILEPATH=/usr/local/bin/python3 -DNO_SHARED:BOOL=1 . && make
delocate-listdeps python/dist/*.whl
delocate-wheel python/dist/*.whl
delocate-listdeps python/dist/*.whl
delocate-addplat --rm-orig -x 10_9 -x 10_10 python/dist/*.whl
displayName: 'Run a multi-line script'

0 comments on commit 133985d

Please sign in to comment.