WIP Don't overwrite _COb in PInit #54
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |