-
Notifications
You must be signed in to change notification settings - Fork 65
54 lines (49 loc) · 1.77 KB
/
pip.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
49
50
51
name: pip setup
on:
pull_request:
branches: [ develop ]
jobs:
build_pip_basic:
name: Ubuntu pip setup.py
runs-on: ubuntu-20.04
steps:
- name: Install Deps
run: |
sudo apt-get update
sudo apt-get install binutils \
gcc \
g++ \
gfortran \
python3 \
perl \
git \
git-lfs \
curl \
wget \
tar \
unzip \
build-essential \
libncurses-dev \
libssl-dev \
libblas-dev \
liblapack-dev \
zlib1g-dev \
libgdbm-dev \
libreadline-dev \
libsqlite3-dev \
libbz2-dev \
mpich \
libmpich-dev \
libhdf5-dev
- name: Setup Python Env
run: python3 -m pip install --upgrade pip numpy mpi4py
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Build & Test
run: |
env ENABLE_MPI=ON HDF5_DIR=/usr/ pip install -v .
rm -rf build
python3 -c "import conduit;print(conduit.about());"
python3 -c "import conduit.relay;print(conduit.relay.io.about())"
python3 -c "import conduit.relay.mpi;print(conduit.relay.mpi.about())"