forked from schrodinger/pymol-open-source
-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (50 loc) · 1.35 KB
/
build.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
52
53
54
55
56
57
58
59
60
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-22.04
env:
PREFIX: ${{ github.workspace }}/install-prefix
steps:
- uses: actions/checkout@v3
- name: Install system dependencies
run: >
sudo apt-get update;
sudo apt-get --no-install-recommends install
catch2
libfreetype6-dev
libglew-dev
libglm-dev
libmsgpack-dev
libnetcdf-dev
libpng-dev
libxml2-dev
python-is-python3
python3-biopython
python3-dev
python3-numpy
python3-pil
python3-pybind11
python3-pytest
python3-setuptools
python3-venv
- name: Install collada2gltf
run: |
wget -nv https://anaconda.org/schrodinger/collada2gltf/2.1.4/download/linux-64/collada2gltf-2.1.4-h6bb024c_0.tar.bz2
sudo tar xf collada2gltf-*.tar.bz2 -C / bin/collada2gltf
- name: Get additional sources
run: |
git clone --depth 1 https://github.com/rcsb/mmtf-cpp.git
cp -R mmtf-cpp/include/mmtf* include/
- name: Set up venv
run: |
python -m venv --system-site-packages $PREFIX
- name: Build
run: |
$PREFIX/bin/python setup.py --testing install
env:
DEBUG: 1
- name: Test
working-directory: ./testing
run: |
$PREFIX/bin/python -m pytest