-
Notifications
You must be signed in to change notification settings - Fork 23
/
azure-pipelines.yml
48 lines (48 loc) · 1.71 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
jobs:
- job: Linux
pool:
vmImage: 'ubuntu-18.04'
steps:
- script: echo hello from Linux
- bash: |
git submodule init && git submodule update
sudo apt-get update && sudo apt-get install -y wget bzip2 python3-pip libgsl-dev libboost-dev cmake
sudo python3 -m pip install -U pip setuptools
wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.5/src/hdf5-1.10.5.tar.bz2
tar xf hdf5-1.10.5.tar.bz2 && cd hdf5-1.10.5
./configure --enable-cxx --prefix=/opt/hdf5 && make && sudo make install
cd ..
export PATH=/opt/hdf5/bin:${PATH}
export LD_LIBRARY_PATH=/opt/hdf5/lib:${LD_LIBRARY_PATH}
export LIBRARY_PATH=/opt/hdf5/lib:${LIBRARY_PATH}
export LD_RUN_PATH=/opt/hdf5/lib:${LD_RUN_PATH}
export INCLUDE_PATH=/opt/hdf5/include:${INCLUDE_PATH}
python3 setup.py build
sudo python3 setup.py install
sudo python3 setup.py test
cd && pwd
python3 -c "from ecell4_base import core"
- job: macOS1015
pool:
vmImage: 'macOS-10.15'
steps:
- script: echo hello from macOS 10.15
- bash: |
git submodule init && git submodule update
brew update
brew install boost gsl [email protected] cmake python
export PATH="/usr/local/opt/[email protected]/bin:${PATH}"
/usr/local/bin/python3 setup.py install
/usr/local/bin/python3 setup.py test
- job: macOS1014
pool:
vmImage: 'macOS-10.14'
steps:
- script: echo hello from macOS 10.14
- bash: |
git submodule init && git submodule update
brew update
brew install boost gsl hdf5 cmake python
export PATH="/usr/local/opt/[email protected]/bin:${PATH}"
/usr/local/bin/python3 setup.py install
/usr/local/bin/python3 setup.py test