-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* try pre-link again * and make noarch * fix reduce path maybe * update tests * allow build without git tag * h5py patch * h5py patch * i am going to scream * ok I don't think that one was my fault * explicitly run pre-link script * make it a post-link not a pre-link * run pre-link with prefix + correct install location * touch log file * one more touch * try new way to install DSSP * Update test_clean_pdb.py * Update run-tests.yml * Update run-tests.yml * update readme * Update README.md
- Loading branch information
1 parent
4ba1875
commit a259e7d
Showing
12 changed files
with
150 additions
and
117 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Build from source and run tests | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build-linux: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
max-parallel: 5 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: '3.9' | ||
|
||
- name: Add conda to system path | ||
run: | | ||
# $CONDA is an environment variable pointing to the root of the miniconda directory | ||
echo $CONDA/bin >> $GITHUB_PATH | ||
- name: Set up Homebrew for DSSP | ||
id: set-up-homebrew | ||
uses: Homebrew/actions/setup-homebrew@master | ||
- name: Install DSSP | ||
run: | | ||
brew install brewsci/bio/dssp | ||
- name: Install Zernikegrams | ||
run: | | ||
conda install -y python=3.9 | ||
conda update conda | ||
conda install -y conda-build | ||
PREFIX=$HOME/local bash devtools/conda-build/pre-link.sh | ||
conda build devtools/conda-build --no-test --output-folder ./build -c conda-forge | ||
conda install zernikegrams -c ./build -c conda-forge | ||
- name: reinstall h5py | ||
run: | | ||
echo "uninstalling and reinstalling h5py to avoid GH actions issues" | ||
pip uninstall h5py -y | ||
pip install h5py | ||
- name: Install modern gcc | ||
run: | | ||
echo "Installing new GNU runtime so that openmm can find GLIBCXX_3.4.30" | ||
conda install libstdcxx-ng -c conda-forge | ||
- name: Test with pytest | ||
run: | | ||
conda install pytest | ||
pytest |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
*.hdf5 | ||
*.slurm | ||
|
||
build/ | ||
reduce/ | ||
|
||
# Byte-compiled / optimized / DLL files | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
mkdir -p $PREFIX | ||
touch $PREFIX/.messages.txt | ||
|
||
echo "PREFIX is $PREFIX" >> $PREFIX/.messages.txt | ||
|
||
# install reduce -- only available from source | ||
echo "installing Reduce" >> $PREFIX/.messages.txt | ||
git clone https://github.com/rlabduke/reduce.git | ||
mv reduce $PREFIX | ||
|
||
mkdir -p $PREFIX/build/reduce | ||
cd $PREFIX/build/reduce | ||
cmake $PREFIX/reduce -DCMAKE_INSTALL_PREFIX=$HOME/local >> $PREFIX/.messages.txt | ||
make >> $PREFIX/.messages.txt | ||
make install >> $PREFIX/.messages.txt | ||
|
||
rm -rf $PREFIX/reduce | ||
rm -rf $PREFIX/build/reduce | ||
rm $PREFIX/reduce_wwPDB_het_dict.txt |
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
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
Binary file not shown.
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